From a2026f95ed7e813e0280eac86b225e62bc63c5c9 Mon Sep 17 00:00:00 2001 From: yuetsh <51725939@qq.com> Date: Sat, 10 May 2025 09:09:28 +0800 Subject: [PATCH] update --- api/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/settings.py b/api/settings.py index d0c60b6..1453ed8 100644 --- a/api/settings.py +++ b/api/settings.py @@ -33,8 +33,8 @@ if DEBUG: ALLOWED_HOSTS = ["localhost", "127.0.0.1"] CSRF_TRUSTED_ORIGINS = ["http://localhost:3000"] else: - ALLOWED_HOSTS = ["web.xuyue.cc"] - CSRF_TRUSTED_ORIGINS = ["https://web.xuyue.cc"] + ALLOWED_HOSTS = ["web.xuyue.cc", "10.13.114.114"] + CSRF_TRUSTED_ORIGINS = ["https://web.xuyue.cc", "http://10.13.114.114"] # Application definition