From 896928ad00ef203a5f9c6d264daf3c3fa03de4a7 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Sat, 12 Sep 2015 09:02:34 +0200 Subject: [PATCH] Fix redirect path --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index 27d49a44b..d95e8da90 100644 --- a/web/web.go +++ b/web/web.go @@ -159,7 +159,7 @@ func New(st local.Storage, qe *promql.Engine, rm *rules.Manager, status *Prometh instrh := prometheus.InstrumentHandler router.Get("/", func(w http.ResponseWriter, r *http.Request) { - http.Redirect(w, r, "/", http.StatusFound) + http.Redirect(w, r, "/graph", http.StatusFound) }) router.Get("/graph", instrf("graph", h.graph))