Skip to content

Commit

Permalink
Add CSRF_TRUSTED_ORIGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSuncatcher222 committed Nov 13, 2023
1 parent bd4e3f4 commit b80432a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hakaton/hakaton/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@
f'https://{CITE_IP}:8000',
]

CSRF_TRUSTED_ORIGINS = [
f'https://{CITE_DOMAIN}',
]

MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
Expand Down

0 comments on commit b80432a

Please sign in to comment.