From c2253229b1b0226c4c46741ecd4f91567da2ca9c Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Sat, 10 Oct 2026 20:48:30 +0200 Subject: [PATCH] nice --- 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 25fb059..1bee63c 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('CSRF_TRUSTED_ORIGINS', default='').split(',') +CORS_ALLOWED_ORIGINS = config('CORS_ALLOWED_ORIGINS', default='').split(',') if not CORS_ALLOWED_ORIGINS or CORS_ALLOWED_ORIGINS == ['']: CORS_ALLOWED_ORIGINS = ['*']