Skip to content

Commit

Permalink
fix: add CSRF_TRUSTED_ORIGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
olemathias committed Sep 12, 2024
1 parent 0169a77 commit d7a171d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tgno/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
DEBUG = False
SECRET_KEY = env("SECRET_KEY")
ALLOWED_HOSTS = env("ALLOWED_HOSTS", "localhost").split(",")
CSRF_TRUSTED_ORIGINS = env("CSRF_TRUSTED_ORIGINS", "http://localhost").split(",")
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"

LOGGING = {
Expand Down

0 comments on commit d7a171d

Please sign in to comment.