From 6adb2298c06517a2de836e11ab041c39c2be458f Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 10 Jan 2022 08:13:56 +0100 Subject: [PATCH] admin must be reachable under /admin even locally - till we parameterize this there is no other solution --- admin/src/router/router.js | 2 +- admin/vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/router/router.js b/admin/src/router/router.js index 9cfee6242..dbad9ac6b 100644 --- a/admin/src/router/router.js +++ b/admin/src/router/router.js @@ -5,7 +5,7 @@ import routes from './routes' Vue.use(VueRouter) const router = new VueRouter({ - base: '/', + base: '/admin', routes, linkActiveClass: 'active', mode: 'history', diff --git a/admin/vue.config.js b/admin/vue.config.js index 657ae23a7..18929c38c 100644 --- a/admin/vue.config.js +++ b/admin/vue.config.js @@ -17,7 +17,7 @@ module.exports = { }, }, lintOnSave: true, - publicPath: '/', + publicPath: '/admin', configureWebpack: { // Set up all the aliases we use in our app. resolve: {