Skip to content

Commit 3b0823c

Browse files
authored
feat: add heic and heif MIME types (#54)
1 parent 5f42ace commit 3b0823c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/file.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ export const COMMON_MIME_TYPES = new Map([
2020
['epub', 'application/epub+zip'],
2121
['gz', 'application/gzip'],
2222
['gif', 'image/gif'],
23+
['heic', 'image/heic'],
24+
['heif', 'image/heif'],
2325
['htm', 'text/html'],
2426
['html', 'text/html'],
2527
['ico', 'image/vnd.microsoft.icon'],

0 commit comments

Comments
 (0)