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.
This commit is contained in:
2026-08-16 16:46:35 +02:00
parent 1f6be9e713
commit 996c0a167f
+3 -1
View File
@@ -29,7 +29,9 @@ services:
environment:
- ENVIRONMENT=local
- 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:
environment: