mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 07:52:28 +00:00
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
Block a user