mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
fix(staging): add CORS_ORIGINS to mana-core-auth
Allow cross-origin requests from chat-web (port 3000) and chat-backend (port 3002) to mana-core-auth (port 3001) on staging server. Without this, browser requests from chat-web to mana-core-auth are blocked by CORS policy since they're on different ports (3000 vs 3001). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
44608074fc
commit
00281a86d3
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,8 @@ services:
|
|||
JWT_SECRET: ${JWT_SECRET}
|
||||
JWT_PUBLIC_KEY: ${JWT_PUBLIC_KEY}
|
||||
JWT_PRIVATE_KEY: ${JWT_PRIVATE_KEY}
|
||||
# CORS - Allow chat-web and other staging origins
|
||||
CORS_ORIGINS: http://46.224.108.214:3000,http://46.224.108.214:3002,http://localhost:3000
|
||||
ports:
|
||||
- "3001:3001"
|
||||
healthcheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue