[web] Add a catch all redirection if a non-existing link is entered
This commit is contained in:
parent
81d9b1723f
commit
4946c0e43c
|
@ -48,6 +48,10 @@ const TOP_WITHOUT_TABS = 110
|
|||
export const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
routes: [
|
||||
{
|
||||
path: '/:all(.*)*',
|
||||
redirect: '/'
|
||||
},
|
||||
{
|
||||
component: PageAbout,
|
||||
name: 'about',
|
||||
|
|
Loading…
Reference in New Issue