Skip to content

Commit

Permalink
Fix router path matching so that /app and /app/ work as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
SailReal committed Sep 14, 2022
1 parent 35b31da commit ba5fc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const routes: RouteRecordRaw[] = [
meta: { skipAuth: true }
},
{
path: '/app/:pathMatch(.*)', //necessary due to using history mode in router
path: '/app/:pathMatch(.+)', //necessary due to using history mode in router
component: NotFoundComponent,
meta: { skipAuth: true },
name: 'NotFound'
Expand Down

0 comments on commit ba5fc91

Please sign in to comment.