@@ -124,7 +124,9 @@ function getFileType (file) {
'svg': 'image/svg+xml',
'jpg': 'image/jpeg',
'png': 'image/png',
- 'gif': 'image/gif'
+ 'gif': 'image/gif',
+ 'yaml': 'text/yaml',
+ 'yml': 'text/yaml'
}
const fileExtension = file.name ? getFileNameAndExtension(file.name).extension : null