ソースを参照

fix: remove v1 in app_base_url (#55)

tags/0.2.2
John Wang 2年前
コミット
a4713c01d5
コミッターのメールアドレスに関連付けられたアカウントが存在しません
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):

読み込み中…
キャンセル
保存