mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-16 17:32:48 +00: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 = [
|
||||
'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'
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue