Added exception for midi files

This commit is contained in:
M66B 2021-10-26 08:04:40 +02:00
parent 8c7dbff7b3
commit 20040f3325
1 changed files with 3 additions and 0 deletions

View File

@ -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";