Update:Support for comic files with webp images #2792

This commit is contained in:
advplyr 2024-03-27 16:11:47 -05:00
parent fc26b7af0a
commit 740640884f

View File

@ -334,7 +334,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())
})