added CSRF_TRUSTED_ORIGINS

This commit is contained in:
gw3000 2023-07-12 16:48:21 +02:00
parent 0cc739aaf0
commit 22d22f1c1f

View file

@ -19,6 +19,7 @@ SECRET_KEY = ")g-j2v+*dvjtnz)q-3+*y7*lq$el$im8p^wr@2v$g^u99quq50"
# SECURITY WARNING: don't run with debug turned on in production!
# DEBUG = True
DEBUG = env("DEBUG")
CSRF_TRUSTED_ORIGINS = ['https://*.nabu-jena.de','https://*.127.0.0.1']
# ALLOWED_HOSTS = []