summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
authorYannick Bungers2021-03-29 23:14:53 +0200
committerGitHub2021-03-29 23:14:53 +0200
commit1534d7029bf82c74d5b927e8b179a763ccb1cae4 (patch)
treebdec869173acdfabbb0afa603a6e3db9deae3465 /lib/config
parent3a60f069cb85f4a1ffbcd19f8ef33073b98994d9 (diff)
parent5dbe99b4c7b8e136ebc6f05b6b618f044bfd4358 (diff)
Merge pull request #1079 from hedgedoc/fix/mimeTypes
Diffstat (limited to 'lib/config')
-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'
]