File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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' ||
You can’t perform that action at this time.
0 commit comments