in source/aws-connect-vm-portal/scripts/uploader.js [190:206]
getContentTypeByFileName(fileName) {
let extension = fileName.substr(fileName.lastIndexOf('.') + 1);
switch (extension) {
case "html":
return "text/html";
case "png":
return "image/png";
case "txt":
return "text/plain";
case "ico":
return "image/x-icon";
case "js":
return "application/javascript";
case "json":
return "application/json";
}
}