Health: use text/plain (#18281)
This commit is contained in:
parent
81b3d44539
commit
d0402122f8
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue