Add environment-driven CORS settings and backend regression tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user