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.
1 parent dd9c5ac commit f257bfbCopy full SHA for f257bfb
backend/settings.py
@@ -13,9 +13,9 @@
13
# SECURITY WARNING: don't run with debug turned on in production!
14
DEBUG = os.environ.get('DEBUG') == "True"
15
16
-ALLOWED_HOSTS = os.environ.get('DOMAIN')
+ALLOWED_HOSTS = [os.environ.get('DOMAIN'),]
17
if DEBUG:
18
- ALLOWED_HOSTS = "*"
+ ALLOWED_HOSTS = ["*",]
19
20
# Redirect to HTTPS by default, unless explicitly disabled
21
SECURE_SSL_REDIRECT = os.environ.get('SECURE_SSL_REDIRECT') != "False"
0 commit comments