Detect image/webp as an image
This commit is contained in:
parent
ba002cca64
commit
4e45820235
@ -96,6 +96,7 @@ function parse(msg, preview, res, client) {
|
||||
case "image/gif":
|
||||
case "image/jpg":
|
||||
case "image/jpeg":
|
||||
case "image/webp":
|
||||
if (res.size > (Helper.config.prefetchMaxImageSize * 1024)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user