From bed4313df315adcd7fed5cb06c1864440f8ad7fd Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 16 Jan 2025 18:16:42 +0100 Subject: [PATCH] fix(settings_cof): Update variables --- gestioasso/settings_cof.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gestioasso/settings_cof.py b/gestioasso/settings_cof.py index 95f4136b..cc54dcf1 100644 --- a/gestioasso/settings_cof.py +++ b/gestioasso/settings_cof.py @@ -203,7 +203,8 @@ CHANNEL_LAYERS = credentials.get_json( ASGI_APPLICATION = "gestioasso.routing.application" -CORS_ORIGIN_WHITELIST = credentials.get("CORS_ORIGIN_WHITELIST", []) +CORS_ALLOWED_ORIGINS = credentials.get("CORS_ALLOWED_ORIGINS", []) +CSRF_TRUSTED_ORIGINS = ALLOWED_HOSTS SITE_ID = 1