diff --git a/main.go b/main.go index 9208d69..87e8221 100644 --- a/main.go +++ b/main.go @@ -498,7 +498,7 @@ func main() { } } - mux := http.NewServeMux() + mux := http.DefaultServeMux mux.Handle(*metricsEndpoint, promhttp.Handler()) mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte(`