Skip to content

Commit

Permalink
Added missing return.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreavis committed Aug 22, 2015
1 parent 48f42f1 commit 5cbfbc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/TileServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ TileServer.prototype.listen = function(port, callback) {
res.writeHead(200, {'Content-Length': BUFFER_HEALTHCHECK.length, 'Content-Type': 'application/json'});
res.write(BUFFER_HEALTHCHECK);
res.end();
return;
} else if (req.url === '/robots.txt') {
res.writeHead(200, {'Content-Length': BUFFER_ROBOTSTXT.length, 'Content-Type': 'text/plain'});
res.write(BUFFER_ROBOTSTXT);
Expand Down

0 comments on commit 5cbfbc8

Please sign in to comment.