attempt to fix csrf bug
This commit is contained in:
parent
3623860302
commit
532a2815c8
@ -31,6 +31,7 @@ def load_insecure_key():
|
||||
|
||||
SECRET_KEY = os.environ.get("DJANGO_SECRET_KEY") or load_insecure_key()
|
||||
ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS", "*").split(" ")
|
||||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
|
||||
print(f"{DEBUG=}, {ALLOWED_HOSTS=}")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user