Skip to content

Commit

Permalink
Fix CSRF Hosts in Livecycle container
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
nishant-nayak authored Sep 24, 2023
1 parent 9dea580 commit 5722828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions corpus/corpus/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
CSRF_TRUSTED_ORIGINS.append("https://ieee.nitk.ac.in")

if os.getenv("LIVECYCLE"):
ALLOWED_HOSTS.append("*")
CSRF_TRUSTED_ORIGINS.append("*")
ALLOWED_HOSTS.append(".livecycle.dev")
CSRF_TRUSTED_ORIGINS.append("https://*.livecycle.dev")

# Application definition

Expand Down

0 comments on commit 5722828

Please sign in to comment.