Remove image files from accepted types on game ban modal
This commit is contained in:
parent
c3e60da881
commit
108d15d1fe
@ -30,17 +30,10 @@ export default function (props: { isOpen: boolean; onClose: () => void }) {
|
|||||||
const toast = useToast();
|
const toast = useToast();
|
||||||
const fileTypes: { [k: string]: string } = {
|
const fileTypes: { [k: string]: string } = {
|
||||||
gif: "image/gif",
|
gif: "image/gif",
|
||||||
heic: "image/heic",
|
|
||||||
heif: "image/heif",
|
|
||||||
jfif: "image/jpeg",
|
|
||||||
jpeg: "image/jpeg",
|
|
||||||
jpg: "image/jpg",
|
|
||||||
m4v: "video/x-m4v",
|
m4v: "video/x-m4v",
|
||||||
mkv: "video/x-matroska",
|
mkv: "video/x-matroska",
|
||||||
mov: "video/mp4",
|
mov: "video/mp4",
|
||||||
mp4: "video/mp4",
|
mp4: "video/mp4",
|
||||||
png: "image/png",
|
|
||||||
webp: "image/webp",
|
|
||||||
webm: "video/webm",
|
webm: "video/webm",
|
||||||
wmv: "video/x-ms-wmv",
|
wmv: "video/x-ms-wmv",
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user