Skip to content

Commit

Permalink
Merge pull request #49 from gmcgibbon/aac
Browse files Browse the repository at this point in the history
Prefer audio/aac for .aac files
  • Loading branch information
pixeltrix authored May 17, 2021
2 parents a90f2af + ef96e67 commit 5da0a7e
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 "application/x-x509-ca-cert", magic: [[0, '-----BEGIN CERTIFICATE-----']], extensions: %w( pem ), parents: "application/x-x509-cert;format=pem"
Expand Down
Binary file added test/fixtures/name/audio/aac.aac
Binary file not shown.

0 comments on commit 5da0a7e

Please sign in to comment.