From dcc6a696fcb4720903603be41c13468cc94730e3 Mon Sep 17 00:00:00 2001 From: Simon Cambier Date: Thu, 24 Feb 2022 22:41:32 +0100 Subject: [PATCH] Config --- index.html | 2 +- src/router/index.ts | 4 ++-- vite.config.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 283923d..cb8d094 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ N0mbers - + diff --git a/src/router/index.ts b/src/router/index.ts index 1b084b6..520cfd2 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,9 +1,9 @@ -import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router' +import { createRouter, createWebHistory } from 'vue-router' import HomeView from '../views/HomeView.vue' const router = createRouter({ - history: createWebHashHistory(import.meta.env.BASE_URL), + history: createWebHistory(import.meta.env.BASE_URL), routes: [ { path: '/', diff --git a/vite.config.ts b/vite.config.ts index 358285a..da9eba1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,7 +10,7 @@ process.env.VITE_BUILD_DATE = new Date().toISOString() // https://vitejs.dev/config/ export default defineConfig({ - base: '/compte/', + base: '/', plugins: [ vue({ reactivityTransform: true,