Skip to content

Commit

Permalink
Allow CORS for prod domain (#169)
Browse files Browse the repository at this point in the history
* use the same ico with eventyay-talk

* allow cors for prod env
  • Loading branch information
lcduong authored Jul 24, 2024
1 parent c7babe8 commit 64c94c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/venueless/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@
r"^https?://(\w+\.)?eventyay\.com$", # Allow any subdomain of eventyay.com
r"^https?://video\.eventyay\.com(:\d+)?$", # Allow video.eventyay.com with any port
r"^https?://video-dev\.eventyay\.com(:\d+)?$", # Allow video-dev.eventyay.com with any port
r"^https?://wikimania-live\.eventyay\.com(:\d+)?$", # Allow wikimania-live.eventyay.com with any port
]
if DEBUG:
CORS_ORIGIN_REGEX_WHITELIST = [
Expand Down

0 comments on commit 64c94c1

Please sign in to comment.