From 5cf133465e09ec47dec58598a1e5ce66ebfbbccb Mon Sep 17 00:00:00 2001 From: Andy-Ruda Date: Wed, 25 Oct 2023 21:40:44 -0500 Subject: [PATCH] Test frontend #only_compile --- cista-front/src/router/index.ts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/cista-front/src/router/index.ts b/cista-front/src/router/index.ts index 344420c..b2de807 100644 --- a/cista-front/src/router/index.ts +++ b/cista-front/src/router/index.ts @@ -1,20 +1,15 @@ -import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router' +import { createRouter, createWebHashHistory } from 'vue-router' import ExplorerView from '../views/ExplorerView.vue' import LoginView from '../views/LoginView.vue' const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { - path: '/#/:location', + path: '/:pathMatch(.*)*', name: 'explorer', component: ExplorerView, }, - { - path: '/login', - name: 'login', - component: LoginView, - }, ] })