mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Add missing support for GIF upload
This commit is contained in:
parent
beddb7f22a
commit
0fddf188e1
@ -12,7 +12,7 @@ import { FileType, TAttachmentForeignKey } from "@/types/message.types";
|
|||||||
import { buildURL } from "./URL";
|
import { buildURL } from "./URL";
|
||||||
|
|
||||||
export const MIME_TYPES = {
|
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: [
|
videos: [
|
||||||
"video/mp4",
|
"video/mp4",
|
||||||
"video/webm",
|
"video/webm",
|
||||||
|
Loading…
Reference in New Issue
Block a user