From 9655d22ff7b353259a6a0c4069238afb874bf3d5 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 27d49a44b3..d95e8da908 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))