From 9b088612331db3daf7972c8bb780cfe037f9743b Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sat, 14 Jun 2025 18:56:16 +0800 Subject: [PATCH] fix --- oj/production_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oj/production_settings.py b/oj/production_settings.py index 4be8809..d297604 100644 --- a/oj/production_settings.py +++ b/oj/production_settings.py @@ -20,6 +20,6 @@ DEBUG = False ALLOWED_HOSTS = ["*"] -CSRF_TRUSTED_ORIGINS = ["https://oj.xuyue.cc"] +CSRF_TRUSTED_ORIGINS = ["https://oj.xuyue.cc", "http://10.13.114.114:81"] DATA_DIR = "/data"