Skip to content

Commit 55587b0

Browse files
committed
.
1 parent e0b7fb5 commit 55587b0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

components/404.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ export default function NotFound404() {
5151
) {
5252
redirect('/legacy/events/index.html')
5353
}
54+
55+
56+
5457
// project
5558
if (
5659
pathname.toLowerCase().startsWith('/blog/agibot-world') ||
@@ -109,6 +112,9 @@ export default function NotFound404() {
109112
) {
110113
redirect('https://opendrivelab.github.io/elm.github.io/')
111114
}
115+
116+
117+
112118
// event 2025
113119
if (
114120
pathname.toLowerCase() =='/cvpr2025' ||
@@ -141,6 +147,9 @@ export default function NotFound404() {
141147
) {
142148
redirect('/legacy/challenge2025/index.html')
143149
}
150+
151+
152+
144153
// event 2024
145154
if (
146155
pathname.toLowerCase().startsWith('/cvpr2024/workshop')
@@ -174,6 +183,10 @@ export default function NotFound404() {
174183
) {
175184
redirect('https://starleague.ai/event2024/')
176185
}
186+
187+
188+
189+
177190
// event 2023
178191
if (
179192
pathname.toLowerCase().startsWith('/AD23Challenge') ||
@@ -201,6 +214,9 @@ export default function NotFound404() {
201214
) {
202215
redirect('/legacy/event2023/index.html')
203216
}
217+
218+
219+
204220
// misc.
205221
if (
206222
pathname.toLowerCase().startsWith('/lihongyang')

0 commit comments

Comments
 (0)