We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 667427b commit 79484e1Copy full SHA for 79484e1
1 file changed
routers/web/web.go
@@ -261,7 +261,7 @@ func Routes() *web.Route {
261
routes.Get("/metrics", append(mid, Metrics)...)
262
}
263
264
- routes.Get("/robots.txt", append(mid, misc.RobotsTxt)...)
+ routes.Methods("GET,HEAD", "/robots.txt", append(mid, misc.RobotsTxt)...)
265
routes.Get("/ssh_info", misc.SSHInfo)
266
routes.Get("/api/healthz", healthcheck.Check)
267
0 commit comments