1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2025-09-05 21:10:16 +02:00

Implement redesign of key

This commit is contained in:
John Crepezzi 2011-11-23 11:31:50 -05:00
parent 051a545a55
commit f601d9f159
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';