Skip to content

Commit

Permalink
Enable utf-8 encoding in html, js content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 20, 2024
1 parent a375e30 commit 821b30c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const gz = {

module.exports = {
'.html': {
type: 'text/html',
type: 'text/html; charset=utf-8',
encodings: [br, gz]
},
'.js': {
type: 'text/javascript',
type: 'text/javascript; charset=utf-8',
encodings: [br, gz]
},
'.txt': {
Expand Down

0 comments on commit 821b30c

Please # to comment.