We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69a90e8 commit e362f44Copy full SHA for e362f44
cmd/postgres_exporter/postgres_exporter.go
@@ -1495,8 +1495,8 @@ func main() {
1495
1496
http.Handle(*metricPath, promhttp.Handler())
1497
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
1498
- w.Header().Set("Content-Type", "Content-Type:text/plain; charset=UTF-8") // nolint: errcheck
1499
- w.Write(landingPage) // nolint: errcheck
+ w.Header().Set("Content-Type", "text/html; charset=UTF-8") // nolint: errcheck
+ w.Write(landingPage) // nolint: errcheck
1500
})
1501
1502
log.Infof("Starting Server: %s", *listenAddress)
0 commit comments