mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
优化结构
This commit is contained in:
1 parent
75ebc1a746
commit
2554cf660a
34 files changed
+401
-150
No files matched your search
@@ -183,5 +183,11 @@ class JudgeConnectionHandler extends ConnectionHandler {
|
||||
}
|
||||
}
|
||||
|
||||
Route('/judge', JudgeHandler);
|
||||
Connection('/judge/conn', JudgeConnectionHandler);
|
||||
async function apply() {
|
||||
Route('/judge', module.exports.JudgeHandler);
|
||||
Connection('/judge/conn', module.exports.JudgeConnectionHandler);
|
||||
}
|
||||
|
||||
global.Hydro.handler.judge = module.exports = {
|
||||
JudgeHandler, JudgeConnectionHandler, apply,
|
||||
};
|
||||
Reference in new issue
Block a user