Browse Source

Change /graph to /query as default homepage in Go backend

Signed-off-by: Julius Volz <julius.volz@gmail.com>
pull/14448/head
Julius Volz 8 months ago
parent
commit
b778c0a249
  1. 4
      web/web.go

4
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"
}

Loading…
Cancel
Save