Fix console handler.
This was accidnetally broken in 2128d9d811
.
Change-Id: I50ea1fdb8ae4d28ae4555410bee97e5037692aa5
This commit is contained in:
parent
bacc31d5cc
commit
eb5d928da7
|
@ -65,7 +65,7 @@ func (w WebService) ServeForever() error {
|
||||||
"/alerts", w.AlertsHandler,
|
"/alerts", w.AlertsHandler,
|
||||||
))
|
))
|
||||||
http.Handle("/consoles/", prometheus.InstrumentHandler(
|
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(
|
http.Handle("/graph", prometheus.InstrumentHandler(
|
||||||
"/graph", http.HandlerFunc(graphHandler),
|
"/graph", http.HandlerFunc(graphHandler),
|
||||||
|
|
Loading…
Reference in New Issue