mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 21:13:19 +01:00
parent
eb24d973b0
commit
f60e1a1af2
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ func Routes() *web.Route {
|
||||||
routes.Get("/metrics", append(mid, Metrics)...)
|
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("/ssh_info", misc.SSHInfo)
|
||||||
routes.Get("/api/healthz", healthcheck.Check)
|
routes.Get("/api/healthz", healthcheck.Check)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue