We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1fc8f0e + 513cea8 commit 190e93aCopy full SHA for 190e93a
1 file changed
backend/settings.py
@@ -8,10 +8,10 @@
8
9
10
# SECURITY WARNING: keep the secret key used in production secret!
11
-SECRET_KEY = 'changeme'
+SECRET_KEY = os.environ.get('SECRET_KEY', 'changeme')
12
13
# SECURITY WARNING: don't run with debug turned on in production!
14
-DEBUG = True
+DEBUG = os.environ.get('DEBUG', 'False') == 'True'
15
16
ALLOWED_HOSTS = ["*"]
17
CSRF_TRUSTED_ORIGINS=["https://*.aldryn.io"]
0 commit comments