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

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-04-03 16:39:27 +02:00
parent cdc4bf0ebc
commit b778c0a249
1 changed files with 2 additions and 2 deletions

View File

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