Remove unsupported file types from GenerateUploadURL

This commit is contained in:
regalijan 2023-10-19 16:51:03 -04:00
parent 4575843345
commit 6e6863b816
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -22,17 +22,10 @@ export async function GenerateUploadURL(
const accessToken = await GetAccessToken(env);
const contentTypes: { [k: string]: string } = {
gif: "image/gif",
heic: "image/heic",
heif: "image/heif",
jfif: "image/jpeg",
jpeg: "image/jpeg",
jpg: "image/jpeg",
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",
};