mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-25 04:24:43 -04:00
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>
This commit is contained in:
parent
fdb04a3655
commit
be3eee1603
1 changed files with 0 additions and 2 deletions
|
@ -179,7 +179,6 @@ switch (config.imageUploadType) {
|
||||||
config.allowedUploadMimeTypes = [
|
config.allowedUploadMimeTypes = [
|
||||||
'image/jpeg',
|
'image/jpeg',
|
||||||
'image/png',
|
'image/png',
|
||||||
'image/jpg',
|
|
||||||
'image/gif'
|
'image/gif'
|
||||||
]
|
]
|
||||||
break
|
break
|
||||||
|
@ -187,7 +186,6 @@ switch (config.imageUploadType) {
|
||||||
config.allowedUploadMimeTypes = [
|
config.allowedUploadMimeTypes = [
|
||||||
'image/jpeg',
|
'image/jpeg',
|
||||||
'image/png',
|
'image/png',
|
||||||
'image/jpg',
|
|
||||||
'image/gif',
|
'image/gif',
|
||||||
'image/svg+xml'
|
'image/svg+xml'
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue