unpkg/modules/utils/getContentTypeHeader.js
2018-07-31 10:20:24 -07:00

6 lines
158 B
JavaScript

function getContentTypeHeader(type) {
return type === "application/javascript" ? type + "; charset=utf-8" : type;
}
module.exports = getContentTypeHeader;