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

+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;