Merge pull request #16 from rodrigoaguilera/master

add ico mime type
This commit is contained in:
Igor Zhukov 2014-01-31 05:46:40 -08:00
commit bb2fba07d9

View File

@ -82,7 +82,8 @@ StaticServlet.MimeMap = {
'jpeg': 'image/jpeg', 'jpeg': 'image/jpeg',
'gif': 'image/gif', 'gif': 'image/gif',
'png': 'image/png', 'png': 'image/png',
  'svg': 'image/svg+xml'   'svg': 'image/svg+xml',
'ico': 'image/vnd.microsoft.icon'
}; };
StaticServlet.prototype.handleRequest = function(req, res) { StaticServlet.prototype.handleRequest = function(req, res) {