From 87a824809395806d94dfa1e81ce7b29d8529de0f Mon Sep 17 00:00:00 2001 From: sbgap Date: Mon, 11 May 2026 13:08:43 +0200 Subject: [PATCH] fix: change to hashHistory urls to suppport subpaths --- src/plugins/router.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/router.ts b/src/plugins/router.ts index e20a1935..3be5d5ef 100644 --- a/src/plugins/router.ts +++ b/src/plugins/router.ts @@ -5,7 +5,7 @@ */ // Composables -import {createRouter, createWebHistory, type Router} from 'vue-router/auto' +import {createRouter, createWebHashHistory, type Router} from 'vue-router/auto' import {routes} from 'vue-router/auto-routes' import type {Store} from './store/types' import type {App} from 'vue' @@ -13,7 +13,7 @@ import type {App} from 'vue' export default function registerRouter(app: App) { const config = app.config.globalProperties.$config const router = createRouter({ - history: createWebHistory(config.base ?? '/'), + history: createWebHashHistory(config.base ?? '/'), routes })