mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
fixed comment typo (#19944)
This commit is contained in:
parent
a9cc9c0f7a
commit
47bb06236d
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ func Routes() *web.Route {
|
||||||
routes.Route("/avatars/*", "GET, HEAD", storageHandler(setting.Avatar.Storage, "avatars", storage.Avatars))
|
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))
|
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) {
|
routes.Head("/", func(w http.ResponseWriter, req *http.Request) {
|
||||||
w.WriteHeader(http.StatusOK)
|
w.WriteHeader(http.StatusOK)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue