From f43b1c62f6b4f5e96a3abab6db0c4d6bd78215d7 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 4 Sep 2025 18:13:12 +0800 Subject: [PATCH] update --- api/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/settings.py b/api/settings.py index 3479856..ca1d3f0 100644 --- a/api/settings.py +++ b/api/settings.py @@ -36,7 +36,7 @@ if DEV: CSRF_TRUSTED_ORIGINS = ["http://localhost:3000"] else: ALLOWED_HOSTS = ["web.xuyue.cc", "10.13.114.114"] - CSRF_TRUSTED_ORIGINS = ["https://web.xuyue.cc", "http://10.13.114.114"] + CSRF_TRUSTED_ORIGINS = ["https://web.xuyue.cc", "http://10.13.114.114:91"] # Application definition