This commit is contained in:
2025-06-15 10:57:53 +08:00
parent 142d08a162
commit 324582186b

View File

@@ -25,13 +25,12 @@ ALLOWED_HOSTS = [
"ojtest.xuyue.cc", "ojtest.xuyue.cc",
"10.13.114.114", "10.13.114.114",
"150.158.29.156", "150.158.29.156",
"172.17.0.1",
] ]
CSRF_TRUSTED_ORIGINS = [ CSRF_TRUSTED_ORIGINS = [
"http://localhost:5173", "http://localhost:5173",
"http://localhost:9005", # health check "http://localhost:9005", # health check
"http://172.17.0.1:8080", "http://localhost:8080", # judge server
"http://127.0.0.1:5173", "http://127.0.0.1:5173",
"https://oj.xuyue.cc", "https://oj.xuyue.cc",
"https://ojtest.xuyue.cc", "https://ojtest.xuyue.cc",