From 324582186b5491cce3bb29410aeef55b8939bfd5 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sun, 15 Jun 2025 10:57:53 +0800 Subject: [PATCH] fix --- oj/production_settings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/oj/production_settings.py b/oj/production_settings.py index d497796..4f69212 100644 --- a/oj/production_settings.py +++ b/oj/production_settings.py @@ -25,13 +25,12 @@ ALLOWED_HOSTS = [ "ojtest.xuyue.cc", "10.13.114.114", "150.158.29.156", - "172.17.0.1", ] CSRF_TRUSTED_ORIGINS = [ "http://localhost:5173", - "http://localhost:9005", # health check - "http://172.17.0.1:8080", + "http://localhost:9005", # health check + "http://localhost:8080", # judge server "http://127.0.0.1:5173", "https://oj.xuyue.cc", "https://ojtest.xuyue.cc",