Skip to content

Commit

Permalink
Health: use text/plain (#18281)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschga authored Jan 19, 2025
1 parent 81b3d44 commit d040212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/http_site_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit d040212

Please sign in to comment.