Skip to content

Commit ae8543e

Browse files
committed
Add more mime types for extensions resources
1 parent 305d865 commit ae8543e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src-main/protocols.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ MIME_TYPES.set('.otf', 'font/otf');
8484
MIME_TYPES.set('.woff', 'font/woff');
8585
MIME_TYPES.set('.woff2', 'font/woff2');
8686
MIME_TYPES.set('.hex', 'application/octet-stream');
87+
MIME_TYPES.set('.zip', 'application/zip');
88+
MIME_TYPES.set('.xml', 'text/xml');
89+
MIME_TYPES.set('.md', 'text/markdown');
8790

8891
protocol.registerSchemesAsPrivileged(Object.entries(FILE_SCHEMES).map(([scheme, metadata]) => ({
8992
scheme,

0 commit comments

Comments
 (0)