From db35cff20d8454474bf52522a99f2306c6c1b3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Glasn=C3=A1k?= Date: Mon, 12 Dec 2022 16:46:40 +0100 Subject: [PATCH] [Routing] Added web hash history mode --- app/src/plugins/app/_config/router.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/plugins/app/_config/router.ts b/app/src/plugins/app/_config/router.ts index 2349e68..0b85aa3 100644 --- a/app/src/plugins/app/_config/router.ts +++ b/app/src/plugins/app/_config/router.ts @@ -1,4 +1,4 @@ -import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router' +import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router' const routes: Array = [ { @@ -97,7 +97,7 @@ const routes: Array = [ ] const router = createRouter({ - history: createWebHistory(process.env.BASE_URL), + history: createWebHashHistory(process.env.BASE_URL), routes })