diff --git a/postgres_exporter.go b/postgres_exporter.go index 49d399ca..5fbc303e 100644 --- a/postgres_exporter.go +++ b/postgres_exporter.go @@ -1108,6 +1108,7 @@ func main() { http.Handle(*metricPath, promhttp.Handler()) http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "Content-Type:text/plain; charset=UTF-8") // nolint: errcheck w.Write(landingPage) // nolint: errcheck })