aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-10 11:11:00 -0500
committerBobby <[email protected]>2022-11-10 11:11:00 -0500
commitf694fa1332dceaad13fac132cf648b2791edad21 (patch)
treed48c52aef4469c7354367c3e636d57e087b15a4c
parentf12a4b240111add01d2a444173c4b258d7f1c209 (diff)
downloadthatcomputerscientist-f694fa1332dceaad13fac132cf648b2791edad21.tar.xz
thatcomputerscientist-f694fa1332dceaad13fac132cf648b2791edad21.zip
enabling debug on production
-rw-r--r--thatcomputerscientist/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py
index f1661578..0ceab756 100644
--- a/thatcomputerscientist/settings.py
+++ b/thatcomputerscientist/settings.py
@@ -28,7 +28,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = os.getenv('AUTHORIZATION_STRING')
# SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = os.getenv('ENVIRONMENT') == 'development' or False
+DEBUG = True
ALLOWED_HOSTS = ["*"]
CSRF_TRUSTED_ORIGINS = ['http://*.localhost', 'https://*.thatcomputerscientist.com', 'http://*.thatcomputerscientist.com', 'https://*.thatcomputerscientist.fly.dev/']