Fix env variable ALLOWED_HOSTS
This commit is contained in:
parent
5fec4cb691
commit
5717617de9
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ if not SECRET_KEY:
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = os.getenv("DEBUG", "false").lower() in ["1", "true"]
|
DEBUG = os.getenv("DEBUG", "false").lower() in ["1", "true"]
|
||||||
|
|
||||||
ALLOWED_HOSTS = os.getenv("", "localhost 0.0.0.0").split(" ")
|
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", "localhost 0.0.0.0").split(" ")
|
||||||
INTERNAL_IPS = ["localhost"]
|
INTERNAL_IPS = ["localhost"]
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
Loading…
Reference in a new issue