Whitelist bda and cof apps for cross-domain

This commit is contained in:
Hugo Roussille 2017-09-13 18:21:34 +02:00
parent 4bd2562edf
commit a4eedbc1a6

View file

@ -197,6 +197,11 @@ AUTHENTICATION_BACKENDS = (
RECAPTCHA_USE_SSL = True RECAPTCHA_USE_SSL = True
CORS_ORIGIN_REGEX_WHITELIST = (
'bda.ens.fr',
'cof.ens.fr',
)
# Cache settings # Cache settings
CACHES = { CACHES = {