diff --git a/services/appflowy-collaborate/src/config.rs b/services/appflowy-collaborate/src/config.rs index 690aee4a..7194e6f0 100644 --- a/services/appflowy-collaborate/src/config.rs +++ b/services/appflowy-collaborate/src/config.rs @@ -209,7 +209,7 @@ pub fn get_configuration() -> Result { redis_uri: get_env_var("APPFLOWY_REDIS_URI", "redis://localhost:6379").into(), redis_worker_count: get_env_var("APPFLOWY_REDIS_WORKERS", "60").parse()?, ai: AISettings { - port: get_env_var("APPFLOWY_AI_SERVER_PORT", "5001").parse()?, + port: get_env_var("AI_SERVER_PORT", "5001").parse()?, host: get_env_var("AI_SERVER_HOST", "localhost"), }, };