Add localhost to ALLOWED_HOSTS for local development

- Append localhost to ALLOWED_HOSTS
- No other changes to configuration
- Ensure local development environment works
- No impact on production environment
- Maintain configuration consistency
This commit is contained in:
2025-02-27 23:31:39 +00:00
parent 7c9f7757e3
commit 0e3877bfde

View File

@@ -15,6 +15,9 @@ cfg_status_badge = "https://status.resk-u.ch/api/badge/22/uptime/744"
ALLOWED_HOSTS = ["reskreen-back.prod.resk-u.ch"]
ALLOWED_HOSTS.append("rh.ambulance-clerc.ch")
ALLOWED_HOSTS.append("reskreen-back.ambulance-clerc.ch")
ALLOWED_HOSTS.append("localhost")
CSRF_TRUSTED_ORIGINS = ['https://reskreen-back.prod.resk-u.ch']