From dc39b907659f83ed89739c3dfae40cd956d120e3 Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Sat, 22 Jul 2023 19:37:23 +0200 Subject: [PATCH] add webp to attachment search --- labscore/utils/attachment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labscore/utils/attachment.js b/labscore/utils/attachment.js index 1e82447..146263d 100644 --- a/labscore/utils/attachment.js +++ b/labscore/utils/attachment.js @@ -1,5 +1,5 @@ const attachmentTypes = Object.freeze({ - image: ["image/png", "image/jpeg", "image/gif"] + image: ["image/png", "image/jpeg", "image/gif", "image/webp"] }) module.exports.attachmentTypes = attachmentTypes