From 647a9fced7a4ad7ac18fa45578acfcee184f8977 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Wed, 13 Dec 2023 05:04:06 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9allowed=5Fhosts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mower_data_collection/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mower_data_collection/settings.py b/mower_data_collection/settings.py index 81317b9..ea42a07 100644 --- a/mower_data_collection/settings.py +++ b/mower_data_collection/settings.py @@ -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