Skip to content

Commit

Permalink
Update CSRF hosts again to incorporate internal Livecycle IPs
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
nishant-nayak authored Sep 24, 2023
1 parent 5722828 commit 6659fc6
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(".livecycle.dev")
CSRF_TRUSTED_ORIGINS.append("https://*.livecycle.dev")
ALLOWED_HOSTS.append("*")
CSRF_TRUSTED_ORIGINS.extend(["http://*", "https://*"])

# Application definition

Expand Down

0 comments on commit 6659fc6

Please sign in to comment.