chore(nodeserver): add font mime type

This commit is contained in:
Vojta Jina 2012-08-04 12:09:28 -07:00 committed by Igor Minar
parent bf77e212af
commit 5d2bd1d84c

View file

@ -80,7 +80,10 @@ StaticServlet.MimeMap = {
'jpeg': 'image/jpeg',
'gif': 'image/gif',
'png': 'image/png',
'manifest': 'text/cache-manifest'
'manifest': 'text/cache-manifest',
// it should be application/font-woff
// but only this silences chrome warnings
'woff': 'font/opentype'
};
StaticServlet.prototype.handleRequest = function(req, res) {