From e19e6642fbaecc9fabac93fcbd8232d52fe1ac36 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Wed, 23 Dec 2020 15:45:49 +0800 Subject: [PATCH] Allow bmp/tiff image to be uploaded Signed-off-by: Yukai Huang --- lib/config/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/config/index.js b/lib/config/index.js index 150116f6..467ab123 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -189,7 +189,9 @@ switch (config.imageUploadType) { 'image/png', 'image/jpg', 'image/gif', - 'image/svg+xml' + 'image/svg+xml', + 'image/bmp', + 'image/tiff' ] }