Skip to content

Commit

Permalink
Add support for brf (braille) extension
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dna committed Oct 31, 2023
1 parent b6a5854 commit 4e55fdc
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 4e55fdc

Please sign in to comment.