Skip to content

Commit

Permalink
fixed comment typo (go-gitea#19944)
Browse files Browse the repository at this point in the history
  • Loading branch information
xkcdstickfigure authored and AbdulrhmnGhanem committed Aug 23, 2022
1 parent 5f06e7f commit 95dd546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func Routes() *web.Route {
routes.Route("/avatars/*", "GET, HEAD", storageHandler(setting.Avatar.Storage, "avatars", storage.Avatars))
routes.Route("/repo-avatars/*", "GET, HEAD", storageHandler(setting.RepoAvatar.Storage, "repo-avatars", storage.RepoAvatars))

// for health check - doeesn't need to be passed through gzip handler
// for health check - doesn't need to be passed through gzip handler
routes.Head("/", func(w http.ResponseWriter, req *http.Request) {
w.WriteHeader(http.StatusOK)
})
Expand Down

0 comments on commit 95dd546

Please sign in to comment.