mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #932 from Hexastack/931-issue---widget-adding-support-for-gif-upload
fix(widget): support GIF images
This commit is contained in:
commit
8670e8c091
@ -21,7 +21,7 @@ export function getFileType(mimeType: string): FileType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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