Merge branch 'master' of codeplane.com:seejohnrun/haste-server

This commit is contained in:
John Crepezzi 2011-11-23 11:33:02 -05:00
commit 315333d8eb
8 changed files with 203 additions and 46 deletions

View file

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