Skip to content
Snippets Groups Projects
Unverified Commit 7ead7849 authored by Florimond Manca's avatar Florimond Manca Committed by GitHub
Browse files

Add *oser-cs.fr to CORS whitelist

parent 3e75392e
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,9 @@ CORS_ORIGIN_REGEX_WHITELIST = ( ...@@ -126,7 +126,9 @@ CORS_ORIGIN_REGEX_WHITELIST = (
# - https://oser-frontend-dev.herokuapp.com # - https://oser-frontend-dev.herokuapp.com
# (but also https://unknown.herokuapp.com...) # (but also https://unknown.herokuapp.com...)
# Essentially allows any frontend hosted on Heroku to send CORS requests. # Essentially allows any frontend hosted on Heroku to send CORS requests.
r'^(https?://)?(.+\.)?herokuapp\.com$' r'^(https?://)?(.+\.)?herokuapp\.com$',
# Allow any app hosted on *oser-cs.fr
r'^(https?://)?(.+\.)?oser-cs\.fr$',
) )
X_FRAME_OPTIONS = 'DENY' # refuse to serve in an <iframe> X_FRAME_OPTIONS = 'DENY' # refuse to serve in an <iframe>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment