Merge pull request #20 from Faraphel/allowed_hosts
Fix env variable ALLOWED_HOSTS
This commit is contained in:
commit
bd708f45b8
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!
|
||||
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"]
|
||||
|
||||
# Application definition
|
||||
|
|
Loading…
Reference in a new issue