From 84f1d1585c043d730705252e41414664a89c3176 Mon Sep 17 00:00:00 2001 From: Justin Visser Date: Tue, 3 Mar 2026 18:23:05 +0100 Subject: [PATCH] another routing fix --- frontend/src/router/index.ts | 7 ------- frontend/src/views/PageView.vue | 19 ++++++------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index dcd2e58..e46343d 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -4,13 +4,6 @@ import PageView from "@/views/PageView.vue"; const router = createRouter({ history: createWebHistory(), routes: [ - { - path: "/", - redirect: () => { - // Will be redirected to first page after pages load - return "/"; - }, - }, { path: "/:slug", name: "page", diff --git a/frontend/src/views/PageView.vue b/frontend/src/views/PageView.vue index 1a657d5..83be991 100644 --- a/frontend/src/views/PageView.vue +++ b/frontend/src/views/PageView.vue @@ -1,6 +1,6 @@