diff options
author | Philip Molares | 2021-03-28 22:28:35 +0200 |
---|---|---|
committer | Philip Molares | 2021-03-28 22:28:35 +0200 |
commit | be3eee16034299150a897c30ae23df4af4e9d624 (patch) | |
tree | bea26aa5549c56c870c99a585cc2eff2d099111e /lib | |
parent | fdb04a36554a4df05ab66f0ef7ca9ef9fa095b9a (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 '')
-rw-r--r-- | lib/config/index.js | 2 |
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' ] |