From 087ef05080f6276c47dc97f541ecdf320601c654 Mon Sep 17 00:00:00 2001 From: Quentin Goinaud Date: Tue, 17 Sep 2024 12:38:40 +0200 Subject: [PATCH] fixes --- src/router/index.ts | 6 +++--- src/views/download.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 854f348..de25be2 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 IndexView from '../views/index.vue' const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { path: '/', @@ -31,7 +31,7 @@ const router = createRouter({ if (to.hash) { return { el: to.hash, - + } } }, diff --git a/src/views/download.vue b/src/views/download.vue index ed335c9..a001c29 100644 --- a/src/views/download.vue +++ b/src/views/download.vue @@ -1,5 +1,5 @@