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:
parent
5c44a1a1a1
commit
92e2b7e445
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue