diff --git a/src/lib/util.ts b/src/lib/util.ts index e278247c..96cfb241 100644 --- a/src/lib/util.ts +++ b/src/lib/util.ts @@ -129,7 +129,7 @@ const magicNumberToMimeType = new Map([ [/^II*/, 'image/tiff'], [/^MM\x00*/, 'image/tiff'], [/^RIFF....WEBPVP8[LX ]/, 'image/webp'], - [/\xF4\xFF\x6F/, 'image/webp2'], // Not sure about this one tho lol + [/^\xF4\xFF\x6F/, 'image/webp2'], [/^\x00\x00\x00 ftypavif\x00\x00\x00\x00/, 'image/avif'], [/^\xff\x0a/, 'image/jpegxl'], ]);