add comic book media-type detection
This commit is contained in:
parent
102665ac62
commit
f65fcd850c
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ const formats = [
|
|||
[/\.(json|csv|txt|log|md|markdown|docx|pdf|xml|yml|yaml)$/i, 'document'],
|
||||
[/\.(pdf|odf|doc|docx|epub|org|rtf)$/i, 'e-book'],
|
||||
[/\.(stl|obj|fbx|gcode)$/i, '3D-file'],
|
||||
[/\.(cbr|cbt|cbz)$/i, 'comic-book'],
|
||||
];
|
||||
|
||||
export default function getMediaType(contentType, fileName) {
|
||||
|
|
Loading…
Reference in a new issue