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 08e7f80 commit 797e653Copy full SHA for 797e653
README.md
@@ -503,8 +503,8 @@ package main
503
504
func HealthCheckHandler(w http.ResponseWriter, r *http.Request) {
505
// A very simple health check.
506
- w.WriteHeader(http.StatusOK)
507
w.Header().Set("Content-Type", "application/json")
+ w.WriteHeader(http.StatusOK)
508
509
// In the future we could report back on the status of our DB, or our cache
510
// (e.g. Redis) by performing a simple PING, and include them in the response.
0 commit comments