Redirect to 404 page if user not found

This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2025-12-17 15:20:51 +01:00
1 parent 883d19d7c4
commit c2f4c9fa55
3 files changed
+22 -7

No files matched your search

+4
View File
@@ -28,6 +28,10 @@ const router = createBrowserRouter([
path: "/*",
Component: PageNotFound,
},
{
path: "/404",
Component: PageNotFound,
},
{
path: "/",
Component: Layout,