2.0.0(preview)

This commit is contained in:
masnn committed 2020-06-08 13:41:43 +08:00
1 parent d5929d78b1
commit 1c8b62a6d9
33 files changed
+307 -241

No files matched your search

+6 -5
View File
@@ -133,10 +133,11 @@ class JudgeConnectionHandler extends ConnectionHandler {
}
async function apply() {
Route('/judge', module.exports.JudgeHandler);
Connection('/judge/conn', module.exports.JudgeConnectionHandler);
Route('/judge', JudgeHandler);
Connection('/judge/conn', JudgeConnectionHandler);
}
global.Hydro.handler.judge = module.exports = {
JudgeHandler, JudgeConnectionHandler, apply, next, end,
};
apply.next = next;
apply.end = end;
global.Hydro.handler.judge = module.exports = apply;