@@ -107,56 +107,9 @@ export default function Redirect() {
107107
108108
109109
110- // event 2025
111- if (
112- pathname . toLowerCase ( ) == '/cvpr2025' ||
113- pathname . toLowerCase ( ) == '/cvpr2025/'
114- ) {
115- redirect ( '/cvpr2025/' )
116- }
117- if (
118- pathname . toLowerCase ( ) . startsWith ( '/cvpr2025/workshop' )
119- ) {
120- redirect ( '/cvpr2025/workshop/' )
121- }
122- if (
123- pathname . toLowerCase ( ) . startsWith ( '/cvpr2025/tutorial' )
124- ) {
125- redirect ( '/cvpr2025/tutorial/' )
126- }
127- if (
128- pathname . toLowerCase ( ) . startsWith ( '/iccv2025' )
129- ) {
130- redirect ( '/iccv2025/workshop/' )
131- }
132- if (
133- pathname . toLowerCase ( ) . startsWith ( '/challenge2025' )
134- ) {
135- redirect ( '/challenge2025/' )
136- }
137-
138-
139-
140110 // event 2024
141111 if (
142- pathname . toLowerCase ( ) == '/cvpr2024' ||
143- pathname . toLowerCase ( ) == '/cvpr2024/'
144- ) {
145- redirect ( '/cvpr2024/' )
146- }
147- if (
148- pathname . toLowerCase ( ) . startsWith ( '/cvpr2024/workshop' )
149- ) {
150- redirect ( '/cvpr2024/workshop/' )
151- }
152- if (
153- pathname . toLowerCase ( ) . startsWith ( '/cvpr2024/tutorial' )
154- ) {
155- redirect ( '/cvpr2024/tutorial/' )
156- }
157- if (
158- pathname . toLowerCase ( ) . startsWith ( '/cvpr2024/challenge' ) ||
159- pathname . toLowerCase ( ) . startsWith ( '/challenge2024' )
112+ pathname . toLowerCase ( ) . startsWith ( '/cvpr2024/challenge' )
160113 ) {
161114 redirect ( '/challenge2024/' )
162115 }
@@ -176,8 +129,7 @@ export default function Redirect() {
176129
177130 // event 2023
178131 if (
179- pathname . toLowerCase ( ) . startsWith ( '/AD23Challenge' ) ||
180- pathname . toLowerCase ( ) . startsWith ( '/challenge2023' )
132+ pathname . toLowerCase ( ) . startsWith ( '/AD23Challenge' )
181133 ) {
182134 redirect ( '/challenge2023/' )
183135 }
0 commit comments