From d851ad0632ba9a016bf2706dedeb5acc16052599 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sat, 14 Jun 2025 18:57:34 +0800 Subject: [PATCH] fix --- oj/production_settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/oj/production_settings.py b/oj/production_settings.py index d297604..80996d4 100644 --- a/oj/production_settings.py +++ b/oj/production_settings.py @@ -20,6 +20,10 @@ DEBUG = False ALLOWED_HOSTS = ["*"] -CSRF_TRUSTED_ORIGINS = ["https://oj.xuyue.cc", "http://10.13.114.114:81"] +CSRF_TRUSTED_ORIGINS = [ + "https://oj.xuyue.cc", + "http://10.13.114.114:81", + "http://150.158.29.156:8881", +] DATA_DIR = "/data"