We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a05b1f commit d6e2755Copy full SHA for d6e2755
src/index.ts
@@ -68,7 +68,7 @@ const files = await Promise.all(filePaths.map(async filePath => {
68
const res = await fetch(url);
69
const data = await res.blob();
70
71
- return new File([data], path.basename(url.pathname));
+ return new File([data], path.basename(url.pathname), {type: data.type});
72
}
73
74
const data = await fs.readFile(filePath);
0 commit comments