Allow all hosts in debug mode
This commit is contained in:
parent
a463bc36c6
commit
7f52c5de98
|
@ -25,7 +25,9 @@ SECRET_KEY = 'qdm4_0b)3^)k$6r($!o^a7&0l#^6)@g2wr!x0r40ii@9otfnwo'
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
|
||||
ALLOWED_HOSTS = ["192.168.1.65", "thoughts.learnerpages.com", "localhost"]
|
||||
ALLOWED_HOSTS = ["thoughts.learnerpages.com"]
|
||||
if DEBUG:
|
||||
ALLOWED_HOSTS += ["*"]
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
Loading…
Reference in New Issue