Skip to content

Commit f3b98b9

Browse files
committed
Fix 2023W Solution Link
1 parent fd78ff2 commit f3b98b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/campcontest.page.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ const CampContest = ({ seasonList_, seasonData_ }) => {
180180
</ArchiveButton>
181181
<ArchiveButton
182182
href={
183-
(currentSeasonIdx !== 0 ? "https://api.suapc.kr/" : "/res/") +
183+
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
184184
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
185185
currentSeasonData.fileNames.solutionPdf
186186
}`
@@ -352,7 +352,7 @@ const CampContest = ({ seasonList_, seasonData_ }) => {
352352
</ArchiveButton>
353353
<ArchiveButton
354354
href={
355-
(currentSeasonIdx !== 0 ? "https://api.suapc.kr/" : "/res/") +
355+
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
356356
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
357357
currentSeasonData.fileNames.solutionPdf
358358
}`

0 commit comments

Comments
 (0)