Skip to content

Commit

Permalink
Prefer audio/aac for .aac files
Browse files Browse the repository at this point in the history
  • Loading branch information
gmcgibbon committed May 13, 2021
1 parent a525d5b commit ef96e67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/marcel/mime_type/definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
Marcel::MimeType.extend "application/vnd.apple.numbers", extensions: %w( numbers ), parents: "application/zip"
Marcel::MimeType.extend "application/vnd.apple.keynote", extensions: %w( key ), parents: "application/zip"

Marcel::MimeType.extend "audio/aac", extensions: %w( aac ), parents: "audio/x-aac"


Marcel::MimeType.extend "image/vnd.dwg", magic: [[0, "AC10"]]

Marcel::MimeType.extend "image/heif", magic: [[4, "ftypmif1"]], extensions: %w( heif )
Expand Down
Binary file added test/fixtures/name/audio/aac.aac
Binary file not shown.

0 comments on commit ef96e67

Please sign in to comment.