Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Commit

Permalink
Fix robot exclusion
Browse files Browse the repository at this point in the history
* 1 robots exclusion file
* Update the inline file to exclude dem gists
  • Loading branch information
simpsonjulian committed Mar 9, 2015
1 parent 5ecb986 commit 711d489
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ console.log('finished routing');
app.use(function (req, res, next) {
if ('/robots.txt' == req.url) {
res.type('text/plain')
res.send("User-agent: *\nDisallow: /");
res.send("User-agent: *\nDisallow: /graphgist/");
} else {
next();
}
Expand Down
2 changes: 0 additions & 2 deletions robots.txt

This file was deleted.

0 comments on commit 711d489

Please sign in to comment.