fix: add CORS_ORIGINS env for conversation-service websocket

Allow production domain https://iconsulting.szaiai.com for WebSocket CORS

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-09 11:01:19 -08:00
parent 5c44a1a1a1
commit 92e2b7e445
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ services:
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY}
ANTHROPIC_BASE_URL: ${ANTHROPIC_BASE_URL:-https://api.anthropic.com}
KNOWLEDGE_SERVICE_URL: http://knowledge-service:3003
# Claude API 出口配置 (如需指定出口IP在宿主机配置路由)
CORS_ORIGINS: https://iconsulting.szaiai.com,http://localhost:5173
ports:
- "3004:3004"
networks: