diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 04728184b3..31fd7bf85d 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -8,21 +8,21 @@ services: # Startup mode, 'api' starts the API server. MODE: api # The log level for the application. Supported values are `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL` - LOG_LEVEL: INFO + LOG_LEVEL: DEBUG # A secret key that is used for securely signing the session cookie and encrypting sensitive information on the database. You can generate a strong key using `openssl rand -base64 42`. SECRET_KEY: sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U # The base URL of console application, refers to the Console base URL of WEB service if console domain is # different from api or web app domain. # example: http://cloud.dify.ai - CONSOLE_URL: '' + CONSOLE_URL: 'http://10.1.4.15' # The URL for Service API endpoints,refers to the base URL of the current API service if api domain is # different from console domain. # example: http://api.dify.ai - API_URL: '' + API_URL: 'http://10.1.4.15' # The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from # console or api domain. # example: http://udify.app - APP_URL: '' + APP_URL: 'http://10.1.4.15' # When enabled, migrations will be executed prior to application startup and the application will start after the migrations have completed. MIGRATION_ENABLED: 'true' # The configurations of postgres database connection. @@ -119,7 +119,7 @@ services: # --- All the configurations below are the same as those in the 'api' service. --- # The log level for the application. Supported values are `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL` - LOG_LEVEL: INFO + LOG_LEVEL: DEBUG # A secret key that is used for securely signing the session cookie and encrypting sensitive information on the database. You can generate a strong key using `openssl rand -base64 42`. # same as the API service SECRET_KEY: sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U @@ -163,11 +163,11 @@ services: # The base URL of console application, refers to the Console base URL of WEB service if console domain is # different from api or web app domain. # example: http://cloud.dify.ai - CONSOLE_URL: '' + CONSOLE_URL: 'http://10.1.4.15' # The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from # console or api domain. # example: http://udify.app - APP_URL: '' + APP_URL: 'http://10.1.4.15' # The postgres database. db: diff --git a/web/service/apps.ts b/web/service/apps.ts index e9f619787e..aa19a750f0 100644 --- a/web/service/apps.ts +++ b/web/service/apps.ts @@ -42,8 +42,8 @@ export const updateAppRateLimit: Fetcher } -export const updateAppSiteAccessToken: Fetcher = ({ url }) => { - return post(url) as Promise +export const updateAppSiteAccessToken: Fetcher }> = ({ url }) => { + return post(url, { body }) as Promise } export const updateAppSiteConfig: Fetcher }> = ({ url, body }) => {