Workaround incorrect Powerpoint mime type

pull/209/head
M66B 2 years ago
parent bc37e871ac
commit 969d48dab3

@ -255,6 +255,9 @@ public class EntityAttachment {
if ("ppt".equals(extension)) if ("ppt".equals(extension))
return "application/vnd.ms-powerpoint"; return "application/vnd.ms-powerpoint";
if ("application/vnd.ms-pps".equals(type))
return "application/vnd.ms-powerpoint";
if ("pptx".equals(extension)) if ("pptx".equals(extension))
return "application/vnd.openxmlformats-officedocument.presentationml.presentation"; return "application/vnd.openxmlformats-officedocument.presentationml.presentation";

Loading…
Cancel
Save