changement allowed_hosts
This commit is contained in:
@@ -30,7 +30,7 @@ DEBUG = cfg_dev_mode
|
|||||||
ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"]
|
ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"]
|
||||||
if cfg_dev_mode:
|
if cfg_dev_mode:
|
||||||
ALLOWED_HOSTS.append("127.0.0.1")
|
ALLOWED_HOSTS.append("127.0.0.1")
|
||||||
ALLOWED_HOSTS.append("33.144.144.2")
|
ALLOWED_HOSTS.append("33.144.144.6")
|
||||||
CSRF_TRUSTED_ORIGINS = ['https://rh.ambulance-clerc.ch']
|
CSRF_TRUSTED_ORIGINS = ['https://rh.ambulance-clerc.ch']
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user