summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilip Molares2021-03-28 22:28:35 +0200
committerPhilip Molares2021-03-28 22:28:35 +0200
commitbe3eee16034299150a897c30ae23df4af4e9d624 (patch)
treebea26aa5549c56c870c99a585cc2eff2d099111e /lib
parentfdb04a36554a4df05ab66f0ef7ca9ef9fa095b9a (diff)
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 <philip.molares@udo.edu>
Diffstat (limited to 'lib')
-rw-r--r--lib/config/index.js2
1 files changed, 0 insertions, 2 deletions
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'
]