From 00281a86d3b668e31f9dc9c4137956a58061440f Mon Sep 17 00:00:00 2001 From: Wuesteon Date: Fri, 5 Dec 2025 03:56:30 +0100 Subject: [PATCH] fix(staging): add CORS_ORIGINS to mana-core-auth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docker-compose.staging.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml index ce43ac37e..509561d3e 100644 --- a/docker-compose.staging.yml +++ b/docker-compose.staging.yml @@ -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: