From eb02d4b4836525b098ece7f4a8fc0bcc06896700 Mon Sep 17 00:00:00 2001 From: avicenan Date: Wed, 17 Jun 2026 11:56:48 +0900 Subject: [PATCH] feat(file): allow webp on upload --- src/controllers/file/file.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/file/file.ts b/src/controllers/file/file.ts index 0d7a196..2874dab 100644 --- a/src/controllers/file/file.ts +++ b/src/controllers/file/file.ts @@ -51,6 +51,7 @@ export class FileController { .valid( "image/jpeg", "image/png", + "image/webp", "application/pdf", "application/vnd.ms-excel", // ✅ .xls "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", // ✅ .xlsx @@ -136,6 +137,7 @@ export class FileController { jpg: "image/jpeg", jpeg: "image/jpeg", png: "image/png", + webp: "image/webp", gif: "image/gif", doc: "application/msword", docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",