diff --git a/client/src/router/index.js b/client/src/router/index.js index 45dac62..6471a3b 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -85,7 +85,7 @@ const routes = [ ] const router = createRouter({ - history: createWebHistory(), + history: createWebHistory('/wkb/'), routes, }) diff --git a/client/vite.config.js b/client/vite.config.js index 0a4936a..366eb73 100644 --- a/client/vite.config.js +++ b/client/vite.config.js @@ -3,6 +3,7 @@ import vue from '@vitejs/plugin-vue' import { fileURLToPath, URL } from 'node:url' export default defineConfig({ + base: '/wkb/', plugins: [vue()], resolve: { alias: {