1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-03 09:55:48 +00:00

Merge branch 'main' into fix-commit-file-status

This commit is contained in:
wxiaoguang 2024-04-19 22:13:24 +08:00 committed by GitHub
commit 45ac483b02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -258,7 +258,7 @@ func Routes() *web.Route {
routes.Get("/metrics", append(mid, Metrics)...)
}
routes.Get("/robots.txt", append(mid, misc.RobotsTxt)...)
routes.Methods("GET,HEAD", "/robots.txt", append(mid, misc.RobotsTxt)...)
routes.Get("/ssh_info", misc.SSHInfo)
routes.Get("/api/healthz", healthcheck.Check)