mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-26 18:10:39 +12:00
this fixes #9
This commit is contained in:
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…
Reference in a new issue