Health: use text/plain (#18281)

This commit is contained in:
Maschga 2025-01-19 13:42:32 +01:00 • committed by GitHub
parent 81b3d44539
commit d0402122f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -241,6 +241,7 @@ func healthHandler(site site.API) http.HandlerFunc {
return
}
w.Header().Set("Content-Type", "text/plain")
w.WriteHeader(http.StatusOK)
fmt.Fprintln(w, "OK")
}