From e3006f98c964c3335d52096aa3e5f8e14ac8e99a Mon Sep 17 00:00:00 2001 From: takatost Date: Tue, 2 Jul 2024 22:49:18 +0800 Subject: [PATCH] chore: remove dify SaaS URL in default configs (#5888) --- api/configs/feature/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/configs/feature/__init__.py b/api/configs/feature/__init__.py index 2205b0e169d3b0..17fb8c55050837 100644 --- a/api/configs/feature/__init__.py +++ b/api/configs/feature/__init__.py @@ -50,25 +50,25 @@ class EndpointConfig(BaseModel): CONSOLE_API_URL: str = Field( description='The backend URL prefix of the console API.' 'used to concatenate the login authorization callback or notion integration callback.', - default='https://cloud.dify.ai', + default='', ) CONSOLE_WEB_URL: str = Field( description='The front-end URL prefix of the console web.' 'used to concatenate some front-end addresses and for CORS configuration use.', - default='https://cloud.dify.ai', + default='', ) SERVICE_API_URL: str = Field( description='Service API Url prefix.' 'used to display Service API Base Url to the front-end.', - default='https://api.dify.ai', + default='', ) APP_WEB_URL: str = Field( description='WebApp Url prefix.' 'used to display WebAPP API Base Url to the front-end.', - default='https://udify.app', + default='', ) @@ -82,7 +82,7 @@ class FileAccessConfig(BaseModel): 'Url is signed and has expiration time.', validation_alias=AliasChoices('FILES_URL', 'CONSOLE_API_URL'), alias_priority=1, - default='https://cloud.dify.ai', + default='', ) FILES_ACCESS_TIMEOUT: int = Field(