Merge "Fix console handler."

This commit is contained in:
Björn Rabenstein 2014-07-04 18:02:33 +02:00 committed by Gerrit Code Review
commit 443fd93536
1 changed files with 1 additions and 1 deletions

View File

@ -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),