修改allowed_hosts
This commit is contained in:
parent
d1f8dc7e04
commit
647a9fced7
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ SECRET_KEY = os.environ["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 = False
|
DEBUG = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["127.0.0.1"]
|
ALLOWED_HOSTS = [
|
||||||
|
"127.0.0.1",
|
||||||
|
"https://mower.zhaozuohong.vip",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
Loading…
Reference in a new issue