Change /graph to /query as default homepage in Go backend
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
cdc4bf0ebc
commit
b778c0a249
|
@ -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…
Reference in New Issue