Skip to content

Commit

Permalink
Merge pull request #27 from dnadesign/brf
Browse files Browse the repository at this point in the history
Add support for brf (braille) extension
  • Loading branch information
frankdejonge authored Dec 20, 2023
2 parents b6a5854 + 4e55fdc commit 809cc94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/GeneratedExtensionToMimeTypeMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class GeneratedExtensionToMimeTypeMap implements ExtensionToMimeTypeMap, Extensi
'boz' => 'application/x-bzip2',
'bpk' => 'application/octet-stream',
'bpmn' => 'application/octet-stream',
'brf' => 'application/braille',
'bsp' => 'model/vnd.valve.source.compiled-map',
'btf' => 'image/prs.btif',
'btif' => 'image/prs.btif',
Expand Down Expand Up @@ -2293,4 +2294,4 @@ public function lookupAllExtensions(string $mimetype): array
{
return self::EXTENSIONS_FOR_MIME_TIMES[$mimetype] ?? [];
}
}
}
3 changes: 2 additions & 1 deletion src/Generation/FlysystemProvidedMimeTypeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public function provideMimeTypes(): array
new MimeTypeForExtension('application/octet-stream', 'dst'),
new MimeTypeForExtension('application/octet-stream', 'pv'),
new MimeTypeForExtension('application/octet-stream', 'pxf'),
new MimeTypeForExtension('application/braille', 'brf'),
];
}
}
}

0 comments on commit 809cc94

Please sign in to comment.