in source/resources/helper/lib/s3-helper.js [309:326]
_setContentType(file) {
let _contentType = 'binary/octet-stream';
if (file.endsWith('.html')) {
_contentType = 'text/html';
} else if (file.endsWith('.css')) {
_contentType = 'text/css';
} else if (file.endsWith('.png')) {
_contentType = 'image/png';
} else if (file.endsWith('.svg')) {
_contentType = 'image/svg+xml';
} else if (file.endsWith('.jpg')) {
_contentType = 'image/jpeg';
} else if (file.endsWith('.js')) {
_contentType = 'application/javascript';
}
return _contentType;
}