File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ export function AppSidebar() {
297297 </ CollapsibleTrigger >
298298 < CollapsibleContent >
299299 < SidebarMenuSub >
300- < Link href = "https://mmlab.hk/ CCAI9025" target = "_blank" className = "p-2 rounded-sm hover:bg-o-blue/3 select-none" >
300+ < Link href = "/teaching/ CCAI9025/ " target = "_blank" className = "p-2 rounded-sm hover:bg-o-blue/3 select-none" >
301301 HKU CCAI9025
302302 </ Link >
303303 </ SidebarMenuSub >
Original file line number Diff line number Diff line change @@ -297,6 +297,15 @@ export default function Redirect() {
297297
298298
299299
300+ if (
301+ pathname . toLowerCase ( ) . startsWith ( '/CCAI9025' ) ||
302+ pathname . toLowerCase ( ) . startsWith ( '/teaching/CCAI9025' )
303+ ) {
304+ redirect ( 'https://mmlab.hk/CCAI9025' )
305+ }
306+
307+
308+
300309 // misc.
301310 if (
302311 pathname . toLowerCase ( ) . startsWith ( '/lihongyang' )
You can’t perform that action at this time.
0 commit comments