Skip to content

Commit

Permalink
add notfound route where the project , actuality and equipe id dosnt …
Browse files Browse the repository at this point in the history
…exist
  • Loading branch information
Abdoulrachard committed Apr 8, 2024
1 parent 892eec3 commit 86e485c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ const router = createRouter({
name: 'NotFound',
component: NotFoundView
},
{
path: '/project/:pathMatch(.*)',
name: 'NotFound',
component: NotFoundView
},
{
path: '/actuality/:pathMatch(.*)',
name: 'NotFound',
component: NotFoundView
},
]
})

Expand Down

0 comments on commit 86e485c

Please sign in to comment.