judge: 植入广告

This commit is contained in:
undefined committed 2021-02-25 21:46:58 +08:00
1 parent 6decc3c668
commit 0d52d3fee8
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -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",
+5
View File
@@ -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;