prefer CORS_ORIGIN_WHITELIST to CORS_ORIGIN_REGEX_WHITELIST

This commit is contained in:
Martin Pépin 2018-04-08 22:33:19 +02:00
parent 09cfcc476a
commit a7cd1e04cd

View file

@ -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