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 })