diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go index 6ff5dbfdc9..c5f97ab775 100644 --- a/swarm/api/http/server.go +++ b/swarm/api/http/server.go @@ -850,7 +850,7 @@ func (s *Server) ServeHTTP(rw http.ResponseWriter, r *http.Request) { return } - if r.URL.Path == "/robot.txt" { + if r.URL.Path == "/robots.txt" { w.Header().Set("Last-Modified", time.Now().Format(http.TimeFormat)) fmt.Fprintf(w, "User-agent: *\nDisallow: /") return