From f694fa1332dceaad13fac132cf648b2791edad21 Mon Sep 17 00:00:00 2001 From: Bobby Date: Thu, 10 Nov 2022 11:11:00 -0500 Subject: enabling debug on production --- thatcomputerscientist/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/'] -- cgit v1.2.3