|
@@ -82,6 +82,10 @@ this.SingleFile = this.SingleFile || (() => {
|
|
|
if (contentType) {
|
|
if (contentType) {
|
|
|
contentType = contentType.match(/^([^;]*)/)[0];
|
|
contentType = contentType.match(/^([^;]*)/)[0];
|
|
|
}
|
|
}
|
|
|
|
|
+ if (contentType.indexOf("/") <= 0) {
|
|
|
|
|
+ debugger
|
|
|
|
|
+ contentType = null;
|
|
|
|
|
+ }
|
|
|
if (options && options.asDataURI) {
|
|
if (options && options.asDataURI) {
|
|
|
try {
|
|
try {
|
|
|
const buffer = await resourceContent.arrayBuffer();
|
|
const buffer = await resourceContent.arrayBuffer();
|