Skip to content

Commit 415bdfb

Browse files
mwakermanrolandjitsu
authored andcommitted
fix: add 'doc' and 'docx' to COMMON_MIME_TYPES
1 parent 1a25da8 commit 415bdfb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/file.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export const COMMON_MIME_TYPES = new Map([
99
['mp4', 'video/mp4'],
1010
['pdf', 'application/pdf'],
1111
['png', 'image/png'],
12-
['zip', 'application/zip']
12+
['zip', 'application/zip'],
13+
['doc', 'application/msword'],
14+
['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document']
1315
]);
1416

1517

0 commit comments

Comments
 (0)