1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

corrected pattern

This commit is contained in:
postmannen 2021-09-10 05:45:09 +02:00
parent eede523999
commit 08dfcfb3c3

View file

@ -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 {