Skip to content

Commit a15a8b1

Browse files
committed
.
1 parent 9c4a3a6 commit a15a8b1

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

components/app-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export function AppSidebar() {
300300
{/* <Link href="/AP0001" className="p-2 rounded-sm hover:bg-o-blue/3 select-none">
301301
SLAI AP0001
302302
</Link> */}
303-
<Link href="/CCAI9025" target="_blank" className="p-2 rounded-sm hover:bg-o-blue/3 select-none">
303+
<Link href="https://mmlab.hk/CCAI9025" target="_blank" className="p-2 rounded-sm hover:bg-o-blue/3 select-none">
304304
HKU CCAI9025
305305
</Link>
306306
</SidebarMenuSub>

components/redirect.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,12 +292,6 @@ export default function Redirect() {
292292

293293

294294
// teaching
295-
if (
296-
pathname.toLowerCase().startsWith('/ccai9025') ||
297-
pathname.toLowerCase().startsWith('/teaching/ccai9025')
298-
) {
299-
redirect('https://mmlab.hk/CCAI9025')
300-
}
301295
if (
302296
pathname.toLowerCase().startsWith('/ap0001')
303297
) {

0 commit comments

Comments
 (0)