1
1
mirror of https://github.com/go-gitea/gitea synced 2024-07-04 00:55:48 +00:00

Merge remote-tracking branch 'upstream/main' into feature-activitypub

This commit is contained in:
Anthony Wang 2022-06-11 18:36:41 -05:00
commit 7658649d61
No known key found for this signature in database
GPG Key ID: BC96B00AEC5F2D76

View File

@ -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)
})