Skip to content

Commit

Permalink
Revert "feat(docs): allow avif video assets"
Browse files Browse the repository at this point in the history
This reverts commit ee1f286.
  • Loading branch information
caugner committed May 12, 2023
1 parent ed10897 commit 1cec4c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const AUDIO_EXT = ["mp3", "ogg"];
export const FONT_EXT = ["woff2"];
export const BINARY_IMAGE_EXT = ["gif", "jpeg", "jpg", "png", "webp"];
export const ANY_IMAGE_EXT = ["svg", ...BINARY_IMAGE_EXT];
export const VIDEO_EXT = ["avif", "mp4", "webm"];
export const VIDEO_EXT = ["mp4", "webm"];

export const BINARY_ATTACHMENT_EXT = [
...AUDIO_EXT,
Expand Down Expand Up @@ -243,7 +243,6 @@ export const VALID_MIME_TYPES = new Set([
"image/jpeg", // this is what you get for .jpeg *and* .jpg file extensions
"image/gif",
"image/webp",
"video/avif",
"video/mp4",
"video/ogg",
"video/webm",
Expand Down

0 comments on commit 1cec4c7

Please sign in to comment.