From 845a67ce2cc64520b10cfeac1f6fcb73b1003010 Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Sat, 10 Oct 2026 20:45:31 +0200 Subject: [PATCH] oups --- backend/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/settings.py b/backend/core/settings.py index 55f750d..25fb059 100644 --- a/backend/core/settings.py +++ b/backend/core/settings.py @@ -130,7 +130,7 @@ USE_TZ = True STATIC_URL = 'static/' -CORS_ALLOWED_ORIGINS = config('ALLOWED_HOSTS', default='').split(',') +CORS_ALLOWED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', default='').split(',') if not CORS_ALLOWED_ORIGINS or CORS_ALLOWED_ORIGINS == ['']: CORS_ALLOWED_ORIGINS = ['*']