diff --git a/config-example.json b/config-example.json index c34c4f0..8f79a71 100644 --- a/config-example.json +++ b/config-example.json @@ -166,8 +166,6 @@ } ], "session_secret": "233", - "judge_server_addr": "http://127.0.0.1:5284", "rabbitMQ": "amqp://localhost/", - "judge_token": "233", "email_jwt_secret": "test" } diff --git a/views/submissions.ejs b/views/submissions.ejs index dd7b9a4..616164f 100644 --- a/views/submissions.ejs +++ b/views/submissions.ejs @@ -114,7 +114,7 @@ $(function () { $('#select_status').dropdown(); }); const itemList = <%- JSON.stringify(items) %>; -const socketUrl = <%- syzoj.utils.judgeServer(pushType) %>; +const socketUrl = "/rough"; const displayConfig = <%- JSON.stringify(displayConfig) %>; const vueApp = new Vue({