Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc90a9d

Browse files
committed
feat: add UTF8 header
1 parent e97ae68 commit fc90a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/serve-package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = function servePackage ( req, res, next ) {
7979
res.status( 200 );
8080
res.set(Object.assign({
8181
'Content-Length': zipped.length,
82-
'Content-Type': 'application/javascript',
82+
'Content-Type': 'application/javascript; charset=utf-8',
8383
'Content-Encoding': 'gzip',
8484

8585
}, additionalBundleResHeaders));

0 commit comments

Comments
 (0)