Skip to content

Commit

Permalink
Merge pull request #34 from IEEE-NITK/fix-csrf-hosts
Browse files Browse the repository at this point in the history
Fix CSRF Hosts in Livecycle container
  • Loading branch information
anirudhprabhakaran3 authored Sep 25, 2023
2 parents 9dea580 + 6659fc6 commit 20448f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corpus/corpus/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

if os.getenv("LIVECYCLE"):
ALLOWED_HOSTS.append("*")
CSRF_TRUSTED_ORIGINS.append("*")
CSRF_TRUSTED_ORIGINS.extend(["http://*", "https://*"])

# Application definition

Expand Down

0 comments on commit 20448f6

Please sign in to comment.