From c659f447ac20b1699af7aeade419495818950c65 Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Mon, 20 Mar 2023 20:28:17 +0100 Subject: [PATCH] switch to # routes to avoid issues on live website --- src/router/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 348bdc1..74e2051 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,8 +1,8 @@ -import { createRouter, createWebHistory } from 'vue-router' +import {createRouter, createWebHashHistory} from 'vue-router' import HomeView from '../views/HomeView.vue' const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { path: '/',