Browse Source

add ico mime type

master
root 11 years ago
parent
commit
46698f241a
  1. 3
      server.js

3
server.js

@ -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) {

Loading…
Cancel
Save