this fixes #9

pull/2/head
gorhill 10 years ago
parent 6ffbfb4040
commit fa84fa2508

@ -71,7 +71,7 @@
} }
var ext = path.slice(pos) + '.'; var ext = path.slice(pos) + '.';
if ( '.css.eot.ttf.otf.svg.woff.woff2.'.indexOf(ext) !== -1 ) { if ( '.css.eot.ttf.otf.svg.woff.woff2.'.indexOf(ext) !== -1 ) {
return 'stylesheet'; return 'css';
} }
if ( '.ico.png.gif.jpg.jpeg.'.indexOf(ext) !== -1 ) { if ( '.ico.png.gif.jpg.jpeg.'.indexOf(ext) !== -1 ) {
return 'image'; return 'image';

Loading…
Cancel
Save