fix default environment vars

This commit is contained in:
ducoterra
2020-04-25 11:20:15 -04:00
parent 41f4549ffd
commit 6bc472f7fe
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ SECRET_KEY = os.getenv("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True if os.getenv("DEBUG") == "True" else False
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", "localhost").split(",")
# Application definition