Skip to content

Commit f8d96c0

Browse files
committed
.
1 parent 9bcee0d commit f8d96c0

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

components/redirect.tsx

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,6 @@ export default function Redirect() {
128128
) {
129129
redirect('/OMEGA/')
130130
}
131-
if (
132-
pathname.toLowerCase() == '/kai0' ||
133-
pathname.toLowerCase().startsWith('/foldanything')
134-
) {
135-
redirect('/kai0/')
136-
}
137131
if (
138132
pathname.toLowerCase().startsWith('/simscale')
139133
) {
@@ -149,13 +143,29 @@ export default function Redirect() {
149143
) {
150144
redirect('/PlannerRFT/')
151145
}
146+
147+
148+
149+
// kai
150+
if (
151+
pathname.toLowerCase().startsWith('/kai0')
152+
) {
153+
if (
154+
pathname.toLowerCase().startsWith('/kai0rl')
155+
) {
156+
redirect('/kai0RL/')
157+
} else {
158+
redirect('/kai0/')
159+
}
160+
}
152161
if (
153-
pathname.toLowerCase().startsWith('/kai0rl')
162+
pathname.toLowerCase().startsWith('/foldanything')
154163
) {
155-
redirect('/kai0RL/')
164+
redirect('/kai0/')
156165
}
157166

158167

168+
159169
// event 2025
160170
if (
161171
pathname.toLowerCase() == '/cvpr2025' ||

0 commit comments

Comments
 (0)