-
Shortener
+
router.push('home')">
+ Shortener
+
diff --git a/vue-frontend/src/router/index.ts b/vue-frontend/src/router/index.ts
index a5794bf..5093e2e 100644
--- a/vue-frontend/src/router/index.ts
+++ b/vue-frontend/src/router/index.ts
@@ -9,6 +9,7 @@ const router = createRouter({
routes: [
{
path: '/',
+ name: 'home',
component: HomeView,
},
{
@@ -21,6 +22,11 @@ const router = createRouter({
name: 'signup',
component: SignUpPage,
},
+ {
+ path: '/:pathMatch(.*)*',
+ name: '404',
+ component: HomeView,
+ },
],
})