Skip to content

Commit

Permalink
feat: add UTF8 header
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuc committed Dec 13, 2017
1 parent e97ae68 commit fc90a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/serve-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = function servePackage ( req, res, next ) {
res.status( 200 );
res.set(Object.assign({
'Content-Length': zipped.length,
'Content-Type': 'application/javascript',
'Content-Type': 'application/javascript; charset=utf-8',
'Content-Encoding': 'gzip',

}, additionalBundleResHeaders));
Expand Down

0 comments on commit fc90a9d

Please sign in to comment.