1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-08-09 07:25:18 +02:00

fix: removed history mode for router to prevent 404 on route direct access

Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
Corentin Thomasset 2020-06-07 19:08:42 +02:00
parent 360439aece
commit 573e197d5e

View file

@ -125,7 +125,6 @@ const routes = [
] ]
const router = new VueRouter({ const router = new VueRouter({
mode: 'history',
base: process.env.BASE_URL, base: process.env.BASE_URL,
routes routes
}); });