Added exception for ovpn files

pull/168/head
M66B 5 years ago
parent 01f494429d
commit 14d3b6930c

@ -160,6 +160,9 @@ public class EntityAttachment {
if (extension == null) if (extension == null)
return type; return type;
if ("ovpn".equals(extension))
return "application/x-openvpn-profile";
String gtype = MimeTypeMap.getSingleton() String gtype = MimeTypeMap.getSingleton()
.getMimeTypeFromExtension(extension.toLowerCase(Locale.ROOT)); .getMimeTypeFromExtension(extension.toLowerCase(Locale.ROOT));

Loading…
Cancel
Save