Merge pull request #926 from Hexastack/missing-gif-support
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run

Add missing support for GIF upload
This commit is contained in:
Med Marrouchi 2025-04-16 11:45:02 +01:00 committed by GitHub
commit de8f34c7c9
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",