judge: login state check

This commit is contained in:
undefined committed 2021-08-23 03:17:09 +08:00
1 parent 03d096dc79
commit 3bcfec0366
4 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.33.1",
"version": "2.33.2",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",
+4
View File
@@ -106,6 +106,10 @@ export async function end(body: JudgeResultBody) {
}
export class JudgeFilesDownloadHandler extends Handler {
async get() {
this.response.body = 'ok';
}
noCheckPermView = true;
@post('files', Types.Set)
@post('pid', Types.UnsignedInt)