Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unsupported file types from GenerateUploadURL
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 4575843 commit 6e6863b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions functions/gcloud.ts
Expand Up @@ -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",
};
Expand Down

0 comments on commit 6e6863b

Please sign in to comment.