mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
judge: 植入广告
This commit is contained in:
1 parent
6decc3c668
commit
0d52d3fee8
2 files changed
+6
-1
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "2.3.11",
|
||||
"version": "2.3.12",
|
||||
"main": "package.json",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -150,6 +150,11 @@ class JudgeTask {
|
||||
}
|
||||
|
||||
end(data) {
|
||||
this.ws.send(JSON.stringify({
|
||||
key: 'next',
|
||||
tag: this.tag,
|
||||
judge_text: '自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。',
|
||||
}));
|
||||
if (data.message !== undefined) {
|
||||
data.judge_text = data.message;
|
||||
delete data.message;
|
||||
|
||||
Reference in new issue
Block a user