forked from DGNum/gestioCOF
prefer CORS_ORIGIN_WHITELIST to CORS_ORIGIN_REGEX_WHITELIST
This commit is contained in:
parent
09cfcc476a
commit
a7cd1e04cd
1 changed files with 3 additions and 1 deletions
|
@ -210,9 +210,11 @@ AUTHENTICATION_BACKENDS = (
|
|||
|
||||
RECAPTCHA_USE_SSL = True
|
||||
|
||||
CORS_ORIGIN_REGEX_WHITELIST = (
|
||||
CORS_ORIGIN_WHITELIST = (
|
||||
'bda.ens.fr',
|
||||
'www.bda.ens.fr'
|
||||
'cof.ens.fr',
|
||||
'www.cof.ens.fr',
|
||||
)
|
||||
|
||||
# Cache settings
|
||||
|
|
Loading…
Reference in a new issue