Skip to content

Commit

Permalink
Add .woff and .woff2 mime types
Browse files Browse the repository at this point in the history
No encoding because these are already very well compressed; brotli and gzip just make them bigger
  • Loading branch information
GarboMuffin committed Feb 4, 2024
1 parent ffdae71 commit 3141c6f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,11 @@ module.exports = {
'.otf': {
type: 'font/otf',
encodings: [br, gz]
}
},
'.woff': {
type: 'font/woff'
},
'.woff2': {
type: 'font/woff2'
},
};

0 comments on commit 3141c6f

Please sign in to comment.