Skip to content

Commit

Permalink
Add catch-all redirect route to base
Browse files Browse the repository at this point in the history
  • Loading branch information
zax-xyz committed Aug 12, 2021
1 parent d5435f6 commit 60e4fa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ const routes: Array<RouteConfig> = [
meta: { title: "Remote View", full: true },
component: Remote,
},
{
path: "/(.+)",
redirect: "/",
},
];

const router = new VueRouter({
Expand Down

0 comments on commit 60e4fa2

Please sign in to comment.