From b0020bd1c6df2f66790953e1650eeb49e02a4530 Mon Sep 17 00:00:00 2001 From: Tadayoshi Sato Date: Tue, 3 Oct 2023 14:20:59 +0900 Subject: [PATCH] fix(ui): redirect '/index.html' to root '/' When directly accessing to /index.html, React router doesn't treat it as root '/' so the default page resolution didn't happen. This fix changed the React router routes to explicitly redirect '/index.html' to '/'. This fix is needed for Spring Boot 3 runtime support. --- packages/hawtio/src/ui/page/HawtioPage.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hawtio/src/ui/page/HawtioPage.tsx b/packages/hawtio/src/ui/page/HawtioPage.tsx index 41d87e83..1e8035a4 100644 --- a/packages/hawtio/src/ui/page/HawtioPage.tsx +++ b/packages/hawtio/src/ui/page/HawtioPage.tsx @@ -83,6 +83,7 @@ export const HawtioPage: React.FunctionComponent = () => { } /> } /> + } />