From 24c7322c33a3576f3f5af2c4e2344e97dc1883d4 Mon Sep 17 00:00:00 2001 From: VitalikL Date: Fri, 10 May 2024 10:30:33 -0400 Subject: [PATCH] Adding BASE_URL --- src/router/index.js | 2 +- vite.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 9238150..aa200dd 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -27,7 +27,7 @@ const router = createRouter({ ] }, { - path: '/browser', + path: '/obs-sda-hymnal/browser', name: 'browser', component: () => import('../views/Browser.vue') } diff --git a/vite.config.js b/vite.config.js index f35914e..7d73c6f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,7 +5,7 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ - publicPath: '/obs-sda-hymnal/', + base: '/obs-sda-hymnal/', plugins: [ vue(), ],