remove route logging & catchAll fallback

This commit is contained in:
Johann Hoffmann
2025-01-22 16:47:14 +01:00
parent 9350838ebc
commit 8133d73cff
+1 -13
View File
@@ -67,22 +67,10 @@ const router = VueRouter.createRouter({
name: 'Cis4',
component: FhcDashboard,
props: {dashboard: 'CIS'},
},
// only use the catchAll route if every cis4 Route is being handled in vue router, currently Profil is being
// codeigniter routed
// {
// path: '/:catchAll(.*)',
// redirect: {name: 'FhcDashboard'},
// props: true
// }
}
]
})
router.beforeEach((to, from) => {
console.log('from', from)
console.log('to', to)
})
const app = Vue.createApp({
name: 'FhcApp',
data: () => ({