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