Update:Support for comic files with webp images https://github.com/advplyr/audiobookshelf/issues/2792

This commit is contained in:
advplyr
2024-03-27 16:13:13 -05:00
parent 48596542c7
commit 9b67037774
+1 -1
View File
@@ -349,7 +349,7 @@ export default {
}
},
parseFilenames(filenames) {
const acceptableImages = ['.jpeg', '.jpg', '.png']
const acceptableImages = ['.jpeg', '.jpg', '.png', '.webp']
var imageFiles = filenames.filter((f) => {
return acceptableImages.includes((Path.extname(f) || '').toLowerCase())
})