|
@@ -80,7 +80,7 @@ this.SingleFile = this.SingleFile || (() => {
|
|
|
}
|
|
}
|
|
|
let contentType = resourceContent.headers && resourceContent.headers.get("content-type");
|
|
let contentType = resourceContent.headers && resourceContent.headers.get("content-type");
|
|
|
if (contentType) {
|
|
if (contentType) {
|
|
|
- contentType = contentType.match(/^([^;]*)/)[0];
|
|
|
|
|
|
|
+ contentType = contentType.match(/^([^;]*)/)[0].toLowerCase();
|
|
|
if (contentType.indexOf("/") <= 0) {
|
|
if (contentType.indexOf("/") <= 0) {
|
|
|
contentType = null;
|
|
contentType = null;
|
|
|
}
|
|
}
|