mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
fixes typo robots #154
This commit is contained in:
parent
d98a110aef
commit
f0de54eaf1
1 changed files with 1 additions and 1 deletions
|
|
@ -850,7 +850,7 @@ func (s *Server) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if r.URL.Path == "/robot.txt" {
|
if r.URL.Path == "/robots.txt" {
|
||||||
w.Header().Set("Last-Modified", time.Now().Format(http.TimeFormat))
|
w.Header().Set("Last-Modified", time.Now().Format(http.TimeFormat))
|
||||||
fmt.Fprintf(w, "User-agent: *\nDisallow: /")
|
fmt.Fprintf(w, "User-agent: *\nDisallow: /")
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue