修改allowed_hosts

This commit is contained in:
zhbaor 2023-12-13 05:04:06 +00:00
parent d1f8dc7e04
commit 647a9fced7

View file

@ -28,7 +28,10 @@ SECRET_KEY = os.environ["SECRET_KEY"]
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
ALLOWED_HOSTS = ["127.0.0.1"]
ALLOWED_HOSTS = [
"127.0.0.1",
"https://mower.zhaozuohong.vip",
]
# Application definition