mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: fix secret calc
This commit is contained in:
1 parent
628ec7953b
commit
e15b8b4f69
2 files changed
+2
-2
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/hydrojudge",
|
"name": "@hydrooj/hydrojudge",
|
||||||
"bin": "bin/hydrojudge.js",
|
"bin": "bin/hydrojudge.js",
|
||||||
"version": "2.12.0",
|
"version": "2.12.1",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ class JudgeTask {
|
|||||||
this.config = await readCases(
|
this.config = await readCases(
|
||||||
this.folder,
|
this.folder,
|
||||||
{ detail: this.session.config.detail, ...this.config },
|
{ detail: this.session.config.detail, ...this.config },
|
||||||
{ next: this.next, key: md5(`${this.source}${getConfig('secret')}`) },
|
{ next: this.next, key: md5(`${this.source}/${getConfig('secret')}`) },
|
||||||
);
|
);
|
||||||
this.stat.judge = new Date();
|
this.stat.judge = new Date();
|
||||||
const type = this.config.type || 'default';
|
const type = this.config.type || 'default';
|
||||||
|
|||||||
Reference in new issue
Block a user