From 641f94b0a06bfc83485919fe2287eced9ea08624 Mon Sep 17 00:00:00 2001 From: hewenyang Date: Tue, 13 Feb 2018 21:19:47 +0800 Subject: [PATCH] Remove external judge server entirely --- config-example.json | 2 -- views/submissions.ejs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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({