mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: remove v1 in app_base_url (#55)
This commit is contained in:
parent
8847bb1e45
commit
a4713c01d5
|
@ -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…
Reference in New Issue
Block a user