소스 검색

fix: remove v1 in app_base_url (#55)

tags/0.2.2
John Wang 2 년 전
부모
커밋
a4713c01d5
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      api/models/model.py

+ 1
- 1
api/models/model.py 파일 보기

@@ -505,7 +505,7 @@ class Site(db.Model):

@property
def app_base_url(self):
return (current_app.config['APP_URL'] if current_app.config['APP_URL'] else request.host_url.rstrip('/')) + '/v1'
return (current_app.config['APP_URL'] if current_app.config['APP_URL'] else request.host_url.rstrip('/'))


class ApiToken(db.Model):

Loading…
취소
저장