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 4fac9b3 commit 90252c8Copy full SHA for 90252c8
src/files/s3.ts
@@ -34,7 +34,7 @@ export async function uploadFile(pathOnDisk: string, pathOnS3: string): Promise<
34
Key: `${uploadKeyPrefix}${pathOnS3}`,
35
Body: createReadStream(pathOnDisk),
36
// ContentMD5: '',
37
- ContentType: mime.contentType(pathOnS3) || "application/octet-stream",
+ ContentType: mime.lookup(pathOnS3) || "application/octet-stream",
38
}),
39
);
40
0 commit comments