enable webp images
This commit is contained in:
parent
c30e1eee2c
commit
8d1ebfb9c5
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ const Lbry: LbryTypes = {
|
|||
const formats = [
|
||||
[/\.(mp4|m4v|webm|flv|f4v|ogv)$/i, 'video'],
|
||||
[/\.(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'],
|
||||
[/\.(html|json|csv|txt|log|md|markdown|docx|pdf|xml|yml|yaml)$/i, 'document'],
|
||||
[/\.(pdf|odf|doc|docx|epub|org|rtf)$/i, 'e-book'],
|
||||
|
|
Loading…
Reference in a new issue