diff --git a/read_socket_or_tcp_listener.go b/read_socket_or_tcp_listener.go index 1f00c34..9842dc1 100644 --- a/read_socket_or_tcp_listener.go +++ b/read_socket_or_tcp_listener.go @@ -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 {