Skip to content

Commit

Permalink
Fixed #23: Corrected aac mimetype
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Aug 5, 2023
1 parent 9bdcb30 commit 7c26dd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/GeneratedExtensionToMimeTypeMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class GeneratedExtensionToMimeTypeMap implements ExtensionToMimeTypeMap, Extensi
'7zip' => 'application/x-7z-compressed',
'123' => 'application/vnd.lotus-1-2-3',
'aab' => 'application/x-authorware-bin',
'aac' => 'audio/x-acc',
'aac' => 'audio/acc',
'aam' => 'application/x-authorware-map',
'aas' => 'application/x-authorware-seg',
'abw' => 'application/x-abiword',
Expand Down Expand Up @@ -2261,7 +2261,7 @@ class GeneratedExtensionToMimeTypeMap implements ExtensionToMimeTypeMap, Extensi
'application/gpg-keys' => ['gpg'],
'application/x-pkcs7' => ['rsa'],
'video/3gp' => ['3gp'],
'audio/x-acc' => ['aac'],
'audio/acc' => ['aac'],
'application/vnd.mpegurl' => ['m4u'],
'application/videolan' => ['vlc'],
'audio/x-au' => ['au'],
Expand Down
3 changes: 2 additions & 1 deletion src/Generation/FlysystemProvidedMimeTypeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ public function provideMimeTypes(): array
new MimeTypeForExtension('audio/x-m4a', 'm4a'),
new MimeTypeForExtension('video/mp4', 'f4v'),
new MimeTypeForExtension('video/webm', 'webm'),
new MimeTypeForExtension('audio/x-acc', 'aac'),
new MimeTypeForExtension('audio/x-aac', 'aac'),
new MimeTypeForExtension('audio/acc', 'aac'),
new MimeTypeForExtension('application/vnd.mpegurl', 'm4u'),
new MimeTypeForExtension('text/plain', 'm3u'),
new MimeTypeForExtension('application/xspf+xml', 'xspf'),
Expand Down

0 comments on commit 7c26dd1

Please sign in to comment.