From be3eee16034299150a897c30ae23df4af4e9d624 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sun, 28 Mar 2021 22:28:35 +0200 Subject: Config: Remove image/jpg This was done because both .jpg and .jpeg get the mime type 'image/jpeg' by FileType Signed-off-by: Philip Molares --- lib/config/index.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/config/index.js') diff --git a/lib/config/index.js b/lib/config/index.js index 17c13f5f..48e61b6c 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -179,7 +179,6 @@ switch (config.imageUploadType) { config.allowedUploadMimeTypes = [ 'image/jpeg', 'image/png', - 'image/jpg', 'image/gif' ] break @@ -187,7 +186,6 @@ switch (config.imageUploadType) { config.allowedUploadMimeTypes = [ 'image/jpeg', 'image/png', - 'image/jpg', 'image/gif', 'image/svg+xml' ] -- cgit v1.2.3