diff --git a/mower_data_collection/settings.py b/mower_data_collection/settings.py index 473c6ac..8f21c22 100644 --- a/mower_data_collection/settings.py +++ b/mower_data_collection/settings.py @@ -28,10 +28,9 @@ 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", - "mower.zhaozuohong.vip", -] +ALLOWED_HOSTS = ["127.0.0.1"] + +CSRF_TRUSTED_ORIGINS = ["https://mower.zhaozuohong.vip"] # Application definition