Created
April 20, 2012 05:43
-
-
Save gabrielfalcao/2426387 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
app.get('/robots.txt', function(req, res){ | |
var rules = [ | |
'User-agent: *', | |
'Disallow: /' | |
].join('\n'); | |
res.send(rules, { 'Content-Type': 'text/plain' }, 200); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment