This commit is contained in:
Louis Mazin 2026-10-10 20:48:30 +02:00
parent 845a67ce2c
commit c2253229b1

View File

@ -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 = ['*']