More robots.txt work

This commit is contained in:
John Crepezzi 2011-11-22 20:01:09 -05:00
parent 2299819781
commit 56bf98daac
2 changed files with 3 additions and 0 deletions

View file

@ -27,6 +27,7 @@ StaticHandler.contentTypeFor = function(ext) {
else if (ext == '.css') return 'text/css';
else if (ext == '.html') return 'text/html';
else if (ext == '.ico') return 'image/ico';
else if (ext == '.txt') return 'text/plain';
else {
winston.error('unable to determine content type for static asset with extension: ' + ext);
return 'text/plain';