Skip to content

Commit c3392e4

Browse files
committed
Remove home page, redirect root to /pages
1 parent 6d55cbd commit c3392e4

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

new-deepnotes/apps/web/src/features/home/home-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export const homeRoutes: RouteRecordRaw[] = [
44
{
55
path: "/",
66
name: "home",
7-
component: () => import("./HomeView.vue"),
7+
redirect: "/pages",
88
},
99
];

new-deepnotes/apps/web/src/features/pages/PagesEntryRedirectView.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ async function resolveAndGo() {
2424
});
2525
return;
2626
}
27-
28-
await router.replace({ name: "home" });
2927
}
3028
3129
watch(

0 commit comments

Comments
 (0)