Detect image/webp as an image

This commit is contained in:
Pavel Djundik 2017-11-27 15:50:35 +02:00 committed by GitHub
parent ba002cca64
commit 4e45820235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}