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:
@@ -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']
|
||||
|
Reference in New Issue
Block a user