add webp to attachment search

This commit is contained in:
derpystuff 2023-07-22 19:37:23 +02:00
parent 9caf1b4461
commit dc39b90765

View file

@ -1,5 +1,5 @@
const attachmentTypes = Object.freeze({ const attachmentTypes = Object.freeze({
image: ["image/png", "image/jpeg", "image/gif"] image: ["image/png", "image/jpeg", "image/gif", "image/webp"]
}) })
module.exports.attachmentTypes = attachmentTypes module.exports.attachmentTypes = attachmentTypes