Created
April 3, 2020 19:26
-
-
Save BelodedAleksey/da41af76d3a9d7fb631eaa21f93885d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if r.URL.String() == "/robots.txt" { | |
w.Write([]byte("User-agent: *\nDisallow: /")) | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment