fix: support AVIF compress and fix hardcoded content type

This commit is contained in:
ashim-hq
2026-04-20 22:13:53 +08:00
parent 491e6fb554
commit c738f16107
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -70,6 +70,7 @@ const FORMAT_MAP: Record<string, string> = {
png: "png",
webp: "webp",
avif: "avif",
heif: "avif",
tiff: "tiff",
gif: "gif",
};