[web] Add a catch all redirection if a non-existing link is entered

This commit is contained in:
Alain Nussbaumer 2024-04-03 17:14:56 +02:00
parent 81d9b1723f
commit 4946c0e43c
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ const TOP_WITHOUT_TABS = 110
export const router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: '/:all(.*)*',
redirect: '/'
},
{
component: PageAbout,
name: 'about',