Allow the standalone Vite origin through CORS

`make dev-frontend` serves the SPA from localhost:5173 and talks to the
stack's backend, which refused it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H7LwYgJfpkbLCTeiAf8U4A
This commit is contained in:
2026-08-16 16:46:35 +02:00
co-authored by Claude Fable 5
parent 82df345bf0
commit 2613fbead4
+3 -1
View File
@@ -29,7 +29,9 @@ services:
environment: environment:
- ENVIRONMENT=local - ENVIRONMENT=local
- FRONTEND_HOST=http://app.${DOMAIN:-localhost} - FRONTEND_HOST=http://app.${DOMAIN:-localhost}
- BACKEND_CORS_ORIGINS=http://${DOMAIN:-localhost},http://app.${DOMAIN:-localhost} # Last entry: the standalone Vite dev server (`make dev-frontend`), which
# talks to this backend rather than running one of its own.
- BACKEND_CORS_ORIGINS=http://${DOMAIN:-localhost},http://app.${DOMAIN:-localhost},http://localhost:5173
prestart: prestart:
environment: environment: