Merge pull request #2320 from spotify/shmidt-i/fix-404-route

Fix 404 route for frontend
This commit is contained in:
Ivan Shmidt
2020-09-07 23:36:25 +02:00
committed by GitHub
+1 -1
View File
@@ -191,7 +191,7 @@ export class PrivateAppImpl implements BackstageApp {
FeatureFlags.registeredFeatureFlags = registeredFeatureFlags;
}
routes.push(<Route element={<NotFoundErrorPage />} />);
routes.push(<Route path="/*" element={<NotFoundErrorPage />} />);
return routes;
}