Gmail display fix for news moderation email (#1622)

This commit is contained in:
Greg Kaleka
2025-02-06 10:12:35 -05:00
committed by GitHub
parent e1b5d0d85f
commit 21e38f11d3
6 changed files with 5 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ AUTH_USER_MODEL = "users.User"
CSRF_COOKIE_HTTPONLY = True
# See https://docs.djangoproject.com/en/4.2/ref/settings/#csrf-trusted-origins
csrf_trusted_origins = env.list(
"CSRF_TRUSTED_ORIGINS", default="http://0.0.0.0, http://localhost"
"CSRF_TRUSTED_ORIGINS", default=["http://0.0.0.0", "http://localhost"]
)
CSRF_TRUSTED_ORIGINS = [el.strip() for el in csrf_trusted_origins]