Add environment-driven CORS settings and backend regression tests

This commit is contained in:
2026-04-06 20:42:33 +02:00
parent 89ab41cc9e
commit 1a7096b276
5 changed files with 74 additions and 10 deletions

View File

@@ -20,3 +20,7 @@ BANGUI_TIMEZONE=UTC
# Application log level: debug | info | warning | error | critical
BANGUI_LOG_LEVEL=info
# Comma-separated list of allowed CORS origins when the frontend is served
# from a different origin than the backend.
BANGUI_CORS_ALLOWED_ORIGINS=http://localhost:5173