Merge pull request #312 from btzr-io/patch-1
This commit is contained in:
commit
9b4bf30755
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ const Lbry: LbryTypes = {
|
||||||
const formats = [
|
const formats = [
|
||||||
[/\.(mp4|m4v|webm|flv|f4v|ogv)$/i, 'video'],
|
[/\.(mp4|m4v|webm|flv|f4v|ogv)$/i, 'video'],
|
||||||
[/\.(mp3|m4a|aac|wav|flac|ogg|opus)$/i, 'audio'],
|
[/\.(mp3|m4a|aac|wav|flac|ogg|opus)$/i, 'audio'],
|
||||||
[/\.(jpeg|jpg|png|gif|svg)$/i, 'image'],
|
[/\.(jpeg|jpg|png|gif|svg|webp)$/i, 'image'],
|
||||||
[/\.(h|go|ja|java|js|jsx|c|cpp|cs|css|rb|scss|sh|php|py)$/i, 'script'],
|
[/\.(h|go|ja|java|js|jsx|c|cpp|cs|css|rb|scss|sh|php|py)$/i, 'script'],
|
||||||
[/\.(html|json|csv|txt|log|md|markdown|docx|pdf|xml|yml|yaml)$/i, 'document'],
|
[/\.(html|json|csv|txt|log|md|markdown|docx|pdf|xml|yml|yaml)$/i, 'document'],
|
||||||
[/\.(pdf|odf|doc|docx|epub|org|rtf)$/i, 'e-book'],
|
[/\.(pdf|odf|doc|docx|epub|org|rtf)$/i, 'e-book'],
|
||||||
|
|
Loading…
Reference in a new issue