Update: 2026-07-13 22:31:28
This commit is contained in:
@@ -20,7 +20,7 @@ const routes = [
|
||||
{ path: '/:pathMatch(.*)*', redirect: '/dashboard' },
|
||||
]
|
||||
|
||||
const router = createRouter({ history: createWebHistory(), routes })
|
||||
const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes })
|
||||
|
||||
router.beforeEach((to) => {
|
||||
const auth = useAuthStore()
|
||||
|
||||
@@ -3,5 +3,6 @@ import vue from '@vitejs/plugin-vue'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
base: '/transit/',
|
||||
server: { port: 5183 },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user