diff --git a/app/vmui/packages/vmui/src/components/Home/HomeLayout.tsx b/app/vmui/packages/vmui/src/components/Home/HomeLayout.tsx index 309d764f36..bf523b9a3d 100644 --- a/app/vmui/packages/vmui/src/components/Home/HomeLayout.tsx +++ b/app/vmui/packages/vmui/src/components/Home/HomeLayout.tsx @@ -50,17 +50,18 @@ const HomeLayout: FC = () => { - + - + {isLoading && { + const {href} = window.location; + const regexp = /^http.+\/vmui/; + const [result] = href.match(regexp) || ["https://"]; + return result.replace("vmui", "prometheus"); +}; \ No newline at end of file