Redirect to 404 page if user not found

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-12-17 15:20:51 +01:00
parent 883d19d7c4
commit c2f4c9fa55
3 changed files with 22 additions and 7 deletions
+4
View File
@@ -28,6 +28,10 @@ const router = createBrowserRouter([
path: "/*",
Component: PageNotFound,
},
{
path: "/404",
Component: PageNotFound,
},
{
path: "/",
Component: Layout,