diff --git a/oj/production_settings.py b/oj/production_settings.py index c56dc0c..d497796 100644 --- a/oj/production_settings.py +++ b/oj/production_settings.py @@ -25,15 +25,13 @@ ALLOWED_HOSTS = [ "ojtest.xuyue.cc", "10.13.114.114", "150.158.29.156", - "oj-judge-test", - "oj-judge", + "172.17.0.1", ] CSRF_TRUSTED_ORIGINS = [ "http://localhost:5173", "http://localhost:9005", # health check - "http://oj-judge-test:8080", - "http://oj-judge:8080", # judge server + "http://172.17.0.1:8080", "http://127.0.0.1:5173", "https://oj.xuyue.cc", "https://ojtest.xuyue.cc",