summaryrefslogtreecommitdiff
path: root/app/src/router/index.ts
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-11-12 15:04:53 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-11-12 15:04:53 +0100
commite4e6653f754b6d2857bcf03a89d26c3e24083271 (patch)
tree85032e6d47a3a457dabc6c6afa283ab0ad83c7c3 /app/src/router/index.ts
parentf7334552e839ef3d0b31a02cda1bd55a156de53c (diff)
FIx routing for home
Diffstat (limited to 'app/src/router/index.ts')
-rw-r--r--app/src/router/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/router/index.ts b/app/src/router/index.ts
index 86cf89f..8c87048 100644
--- a/app/src/router/index.ts
+++ b/app/src/router/index.ts
@@ -3,8 +3,9 @@ import { RouteRecordRaw } from "vue-router";
import HomePage from "../views/HomePage.vue";
const routes: Array<RouteRecordRaw> = [
+ { path: "/", redirect: "/home" },
{
- path: "/",
+ path: "/home",
component: HomePage,
name: "HomePage",
},