Add missing support for GIF upload

This commit is contained in:
Med Marrouchi 2025-04-16 09:22:52 +01:00 committed by GitHub
parent beddb7f22a
commit 0fddf188e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ import { FileType, TAttachmentForeignKey } from "@/types/message.types";
import { buildURL } from "./URL";
export const MIME_TYPES = {
images: ["image/jpeg", "image/png", "image/webp", "image/bmp"],
images: ["image/jpeg", "image/png", "image/webp", "image/bmp", "image/gif"],
videos: [
"video/mp4",
"video/webm",