mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
corrected pattern
This commit is contained in:
parent
eede523999
commit
08dfcfb3c3
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ func (s *server) readHttpListener() {
|
|||
os.Exit(1)
|
||||
}
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("/metrics", s.readHTTPlistenerHandler)
|
||||
mux.HandleFunc("/", s.readHTTPlistenerHandler)
|
||||
|
||||
err = http.Serve(n, mux)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue