Skip to content

Commit

Permalink
Add more mime types for extensions resources
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Dec 19, 2024
1 parent 305d865 commit ae8543e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src-main/protocols.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ MIME_TYPES.set('.otf', 'font/otf');
MIME_TYPES.set('.woff', 'font/woff');
MIME_TYPES.set('.woff2', 'font/woff2');
MIME_TYPES.set('.hex', 'application/octet-stream');
MIME_TYPES.set('.zip', 'application/zip');
MIME_TYPES.set('.xml', 'text/xml');
MIME_TYPES.set('.md', 'text/markdown');

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

0 comments on commit ae8543e

Please sign in to comment.