Disable inline rendering of SVG attachments

Like TIFF, they are now treated as binary files.
This commit is contained in:
Scott Nonnenberg 2018-06-15 17:49:35 -07:00
parent 4ccddeaccc
commit 951ae6d52c
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ const SUPPORTED_IMAGE_MIME_TYPES: MIMETypeSupportMap = {
'image/bmp': true,
'image/gif': true,
'image/jpeg': true,
'image/svg+xml': true,
// No need to support SVG
'image/svg+xml': false,
'image/webp': true,
'image/x-xbitmap': true,
// ICO