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 4f19a7d commit 9d6dc83Copy full SHA for 9d6dc83
server/plugins/uploader.ts
@@ -75,7 +75,7 @@ class SharpDiskStorage implements multer.StorageEngine {
75
const outStream = fs.createWriteStream(finalPath);
76
outStream.on("error", callback);
77
78
- if (file.mimetype === "image/heif") {
+ if (file.mimetype === "image/heif" || file.mimetype === "image/heic") {
79
const converterStream = sharp()
80
.rotate()
81
.toFormat("jpeg");
0 commit comments