Skip to content

Commit 3df2218

Browse files
committed
Add AVIF to custom definitions to fix conflict with video/quicktime
1 parent d17e769 commit 3df2218

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/marcel/mime_type/definitions.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
Marcel::MimeType.extend "application/x-x509-ca-cert", magic: [[0, '-----BEGIN CERTIFICATE-----']], extensions: %w( pem ), parents: "application/x-x509-cert;format=pem"
3939

40+
Marcel::MimeType.extend "image/avif", magic: [[4, "ftypavif"]], extensions: %w( avif )
4041
Marcel::MimeType.extend "image/heif", magic: [[4, "ftypmif1"]], extensions: %w( heif )
4142
Marcel::MimeType.extend "image/heic", magic: [[4, "ftypheic"]], extensions: %w( heic )
4243

0 commit comments

Comments
 (0)