Disable Django Debug Mode

This commit is contained in:
pixeebot[bot]
2025-03-18 03:54:07 +00:00
committed by GitHub
parent 401449201c
commit c4b0e31124

View File

@@ -10,7 +10,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = "django-insecure-=0)^0#h#k$0@$8$ys=^$0#h#k$0@$8$ys=^" SECRET_KEY = "django-insecure-=0)^0#h#k$0@$8$ys=^$0#h#k$0@$8$ys=^"
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = False
CSRF_TRUSTED_ORIGINS = ["https://beta.thrillwiki.com"] CSRF_TRUSTED_ORIGINS = ["https://beta.thrillwiki.com"]
ALLOWED_HOSTS = ["*"] ALLOWED_HOSTS = ["*"]