fix: remove v1 in app_base_url

pull/55/head
John Wang 3 years ago
parent 8847bb1e45
commit 49ea565e91

@ -505,7 +505,7 @@ class Site(db.Model):
@property @property
def app_base_url(self): 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): class ApiToken(db.Model):

Loading…
Cancel
Save