Skip to content

Commit

Permalink
Response uppercase letter for health check (#292)
Browse files Browse the repository at this point in the history
* Update CHANGELOG.md
  • Loading branch information
waybackarchiver authored Dec 26, 2022
1 parent f83cca0 commit 3899631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Create deployment instructions for Render ([#236](https://github.com/wabarc/wayback/pull/236))
- Specify dependencies for the distribution package ([#243](https://github.com/wabarc/wayback/pull/243))
- Make media downloads are domain-specific ([#247](https://github.com/wabarc/wayback/pull/247))
- Response uppercase letter for health check ([#292](https://github.com/wabarc/wayback/pull/292))

## [0.18.1] - 2022-10-30

Expand Down
2 changes: 1 addition & 1 deletion service/httpd/httpd.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (web *web) handle(pool *pooling.Pool) http.Handler {
web.router.HandleFunc("/playback", web.playback).Methods(http.MethodPost)

web.router.HandleFunc("/healthcheck", func(w http.ResponseWriter, r *http.Request) {
w.Write(helper.String2Byte("ok")) // nolint:errcheck
w.Write(helper.String2Byte("OK")) // nolint:errcheck
}).Name("healthcheck")

web.router.HandleFunc("/version", func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 3899631

Please sign in to comment.