Skip to content

Commit

Permalink
settings: Fix CSRF issue
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed May 22, 2024
1 parent 227fda3 commit 94a3c57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions notecheckproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

ALLOWED_HOSTS = ['127.0.0.1','localhost','note.jekovec.net']

CSRF_TRUSTED_ORIGINS = ['https://note.jekovec.net']

# Application definition

INSTALLED_APPS = [
Expand Down

0 comments on commit 94a3c57

Please sign in to comment.