Skip to content

Commit

Permalink
Merge pull request #36 from Rich-Harris/feat-add-ut8-charset-content-…
Browse files Browse the repository at this point in the history
…type

feat: add UTF8 header
  • Loading branch information
Sven SAULEAU committed Dec 13, 2017
2 parents e97ae68 + fc90a9d commit ccc7932
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 ccc7932

Please sign in to comment.