From 6e6863b816c0eea9110f88a75ef4f08125eb5859 Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:51:03 -0400 Subject: [PATCH] Remove unsupported file types from GenerateUploadURL --- functions/gcloud.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/functions/gcloud.ts b/functions/gcloud.ts index 8a6492e..a73a21d 100644 --- a/functions/gcloud.ts +++ b/functions/gcloud.ts @@ -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", };