1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-17 09:44:59 +12:00

this fixes #9

This commit is contained in:
gorhill 2014-10-25 16:36:45 -04:00
parent 6ffbfb4040
commit fa84fa2508

View file

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