[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({ export const router = createRouter({
history: createWebHashHistory(), history: createWebHashHistory(),
routes: [ routes: [
{
path: '/:all(.*)*',
redirect: '/'
},
{ {
component: PageAbout, component: PageAbout,
name: 'about', name: 'about',