fix the route for NotFound
This commit is contained in:
parent
8fd11809ed
commit
701c596ad1
|
@ -20,7 +20,7 @@ const router = createRouter({
|
||||||
},
|
},
|
||||||
{ path: '/register', component: CoachRegistration },
|
{ path: '/register', component: CoachRegistration },
|
||||||
{ path: '/requests', component: RequestsRecieved },
|
{ path: '/requests', component: RequestsRecieved },
|
||||||
{ path: '/notFound(.*)', component: NotFound }
|
{ path: '/:notFound(.*)', component: NotFound }
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Reference in New Issue