From 8133d73cffb50df0e405402deb7820037f28f1cb Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Wed, 22 Jan 2025 16:47:14 +0100 Subject: [PATCH] remove route logging & catchAll fallback --- public/js/apps/Dashboard/Fhc.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/public/js/apps/Dashboard/Fhc.js b/public/js/apps/Dashboard/Fhc.js index 366e992b6..bf27131d4 100644 --- a/public/js/apps/Dashboard/Fhc.js +++ b/public/js/apps/Dashboard/Fhc.js @@ -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: () => ({