From b778c0a249573a0c3f91f59f7b9ebe2e9548fde3 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Wed, 3 Apr 2024 16:39:27 +0200 Subject: [PATCH] Change /graph to /query as default homepage in Go backend Signed-off-by: Julius Volz --- web/web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/web.go b/web/web.go index d62350557..f8cb0a129 100644 --- a/web/web.go +++ b/web/web.go @@ -81,7 +81,7 @@ var reactRouterAgentPaths = []string{ // Paths that are handled by the React router when the Agent mode is not set. var reactRouterServerPaths = []string{ "/alerts", - "/graph", + "/query", "/rules", "/tsdb-status", } @@ -361,7 +361,7 @@ func New(logger log.Logger, o *Options) *Handler { router = router.WithPrefix(o.RoutePrefix) } - homePage := "/graph" + homePage := "/query" if o.IsAgent { homePage = "/agent" }