From 4db7246c51a7fd6716cfb08d5cd4c34c1b358f65 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 00:03:23 +0000 Subject: [PATCH] Add explicit /404 route to render NotFound component cgen-771a7599468d4636b06a82bf0fcb0ba0 --- client/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/App.tsx b/client/App.tsx index d5b66489..0a0ad2b1 100644 --- a/client/App.tsx +++ b/client/App.tsx @@ -98,6 +98,8 @@ const App = () => ( } /> } /> + {/* Explicit 404 route for static hosting fallbacks */} + } /> {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */} } />