summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/utils.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils.js b/lib/utils.js
index 247f85f2..1725f6e8 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -21,6 +21,8 @@ exports.getImageMimeType = function getImageMimeType (imagePath) {
return 'image/png'
case 'tiff':
return 'image/tiff'
+ case 'svg':
+ return 'image/svg+xml'
default:
return undefined
}