Remove support for non-gif images

This commit is contained in:
2023-10-19 16:50:56 -04:00
parent 44ee965c60
commit 9c35fa4a0a
2 changed files with 3 additions and 22 deletions

View File

@ -44,17 +44,10 @@ export default function () {
const [uploading, setUploading] = useState(false);
const fileTypes: { [k: string]: string } = {
gif: "image/gif",
heic: "image/heic",
heif: "image/heif",
jfif: "image/jpeg",
jpeg: "image/jpeg",
jpg: "image/jpg",
m4v: "video/x-m4v",
mkv: "video/x-matroska",
mov: "video/mp4",
mp4: "video/mp4",
png: "image/png",
webp: "image/webp",
webm: "video/webm",
wmv: "video/x-ms-wmv",
};