Merge "Fix console handler."
This commit is contained in:
commit
443fd93536
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue