Skip to content

Commit

Permalink
feat: Add CSRF_TRUSTED_ORIGINS for secure requests from localhost and…
Browse files Browse the repository at this point in the history
… intranet
  • Loading branch information
endersonmenezes committed Jan 8, 2025
1 parent 989870d commit 8be06b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions codaqui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
"intranet.codaqui.dev",
]

CSRF_TRUSTED_ORIGINS=[
"https://intranet.codaqui.dev",
"http://localhost:8000",
]
# Application definition

INSTALLED_APPS = [
Expand Down

0 comments on commit 8be06b9

Please sign in to comment.