Skip to content

Commit bf8b99d

Browse files
committed
Consistently name scoreboard.zip
1 parent f4706f4 commit bf8b99d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webapp/src/Controller/PublicController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function scoreboardAction(
8989
return $this->render('public/scoreboard.html.twig', $data, $response);
9090
}
9191

92-
#[Route(path: '/scoreboard-zip/contest.zip', name: 'public_scoreboard_data_zip')]
92+
#[Route(path: '/scoreboard.zip', name: 'public_scoreboard_data_zip')]
9393
public function scoreboardDataZipAction(
9494
RequestStack $requestStack,
9595
Request $request,

webapp/src/Service/DOMJudgeService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@ public function getScoreboardZip(
15571557
}
15581558
$zip->close();
15591559

1560-
return Utils::streamZipFile($tempFilename, 'contest.zip');
1560+
return Utils::streamZipFile($tempFilename, 'scoreboard.zip');
15611561
}
15621562

15631563
private function allowJudge(ContestProblem $problem, Submission $submission, Language $language, bool $manualRequest): bool

0 commit comments

Comments
 (0)