Added exception for midi files

pull/194/merge
M66B 3 years ago
parent 8c7dbff7b3
commit 20040f3325

@ -182,6 +182,9 @@ public class EntityAttachment {
if ("docx".equals(extension))
return "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
if ("mid".equals(extension) || "midi".equals(extension))
return "audio/midi";
if ("xls".equals(extension))
return "application/vnd.ms-excel";

Loading…
Cancel
Save