mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[web] Add a catch all redirection if a non-existing link is entered
This commit is contained in:
@@ -48,6 +48,10 @@ const TOP_WITHOUT_TABS = 110
|
||||
export const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
routes: [
|
||||
{
|
||||
path: '/:all(.*)*',
|
||||
redirect: '/'
|
||||
},
|
||||
{
|
||||
component: PageAbout,
|
||||
name: 'about',
|
||||
|
||||
Reference in New Issue
Block a user