oups
This commit is contained in:
parent
f802854292
commit
845a67ce2c
@ -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 = ['*']
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user