From f774a10e04d73035d4fcb8776edb37ff7ecbe1b5 Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Mon, 30 Jan 2023 12:07:27 +0000 Subject: [PATCH] bring back functionality in development --- frontend/src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 2198acd..292d1bc 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -27,7 +27,7 @@ const routes = [ ] const router = new VueRouter({ - mode: 'history', + mode: process.env.NODE_ENV === "development" ? 'hash' : 'history', base: process.env.BASE_URL, routes })