feat(file): allow webp on upload
This commit is contained in:
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user