From a3c209da650964d47e5f9f55db4c50f3aaeebd4b Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Tue, 4 Jul 2023 09:39:44 -0400 Subject: [PATCH] Fix invalid token redirection --- web/src/App.vue | 18 ++++++++++++------ web/src/router/index.ts | 2 +- web/src/views/Login.vue | 15 +++++---------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/web/src/App.vue b/web/src/App.vue index e7a6623..a268a55 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -5,24 +5,30 @@ - - - + + + + + diff --git a/web/src/router/index.ts b/web/src/router/index.ts index 0e039d1..7c65776 100644 --- a/web/src/router/index.ts +++ b/web/src/router/index.ts @@ -41,7 +41,7 @@ const routes = [ component: () => import('@/layouts/single/Default.vue'), children: [ { - path: ':serialNumber', + path: '', name: 'Printer', // route level code-splitting // this generates a separate chunk (about.[hash].js) for this route diff --git a/web/src/views/Login.vue b/web/src/views/Login.vue index 8c05238..e138f93 100644 --- a/web/src/views/Login.vue +++ b/web/src/views/Login.vue @@ -62,20 +62,15 @@