From d2cb05846b981edba675e13e43608a6432c29235 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Wed, 20 Nov 2019 15:50:52 +0100 Subject: [PATCH] React UI: Add /tsdb-status to React-handled routes (#6313) Signed-off-by: Julius Volz --- web/ui/react-app/src/App.tsx | 4 ++++ web/web.go | 1 + 2 files changed, 5 insertions(+) diff --git a/web/ui/react-app/src/App.tsx b/web/ui/react-app/src/App.tsx index 2666adef96..f3fc21ea6a 100755 --- a/web/ui/react-app/src/App.tsx +++ b/web/ui/react-app/src/App.tsx @@ -15,6 +15,10 @@ const App: FC = ({ pathPrefix }) => { + {/* + NOTE: Any route added here needs to also be added to the list of + React-handled router paths ("reactRouterPaths") in /web/web.go. + */} diff --git a/web/web.go b/web/web.go index c2fcb24db1..03fa387577 100644 --- a/web/web.go +++ b/web/web.go @@ -84,6 +84,7 @@ var ( "/service-discovery", "/status", "/targets", + "/tsdb-status", "/version", } )