diff --git a/packages/hydrojudge/package.json b/packages/hydrojudge/package.json index f825dedd4..428a6c102 100644 --- a/packages/hydrojudge/package.json +++ b/packages/hydrojudge/package.json @@ -1,7 +1,7 @@ { "name": "@hydrooj/hydrojudge", "bin": "bin/hydrojudge.js", - "version": "2.12.0", + "version": "2.12.1", "main": "package.json", "author": "undefined ", "repository": "https://github.com/hydro-dev/Hydro.git", diff --git a/packages/hydrojudge/src/hosts/hydro.ts b/packages/hydrojudge/src/hosts/hydro.ts index fd7df4ccd..1fa6c3b53 100644 --- a/packages/hydrojudge/src/hosts/hydro.ts +++ b/packages/hydrojudge/src/hosts/hydro.ts @@ -109,7 +109,7 @@ class JudgeTask { this.config = await readCases( this.folder, { 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(); const type = this.config.type || 'default';