Skip to content

Commit

Permalink
Add CSRF_TRUSTED_ORIGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Sep 16, 2023
1 parent 5b44990 commit a82b110
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hknweb/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"dev-hkn.eecs.berkeley.edu",
]

CSRF_TRUSTED_ORIGINS = [
"https://hkn.eecs.berkeley.edu",
"https://dev-hkn.eecs.berkeley.edu",
]

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = "https://www.ocf.berkeley.edu/~hkn/hknweb/static/"
Expand Down

0 comments on commit a82b110

Please sign in to comment.