From eb5d928da7a7151c9a2ba59dbaf6c482c06d2b60 Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Fri, 4 Jul 2014 16:47:48 +0100 Subject: [PATCH] Fix console handler. This was accidnetally broken in 2128d9d81196f92432c4016bccfeab3f7af3f06a. Change-Id: I50ea1fdb8ae4d28ae4555410bee97e5037692aa5 --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index d745a7929..37a4ed5a6 100644 --- a/web/web.go +++ b/web/web.go @@ -65,7 +65,7 @@ func (w WebService) ServeForever() error { "/alerts", w.AlertsHandler, )) http.Handle("/consoles/", prometheus.InstrumentHandler( - "/consoles/", http.StripPrefix("/static/", http.FileServer(http.Dir("web/static"))), + "/consoles/", http.StripPrefix("/consoles/", w.ConsolesHandler), )) http.Handle("/graph", prometheus.InstrumentHandler( "/graph", http.HandlerFunc(graphHandler),