mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Update:Support for comic files with webp images #2792
This commit is contained in:
		
							parent
							
								
									fc26b7af0a
								
							
						
					
					
						commit
						740640884f
					
				| @ -334,7 +334,7 @@ export default { | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     parseFilenames(filenames) { |     parseFilenames(filenames) { | ||||||
|       const acceptableImages = ['.jpeg', '.jpg', '.png'] |       const acceptableImages = ['.jpeg', '.jpg', '.png', '.webp'] | ||||||
|       var imageFiles = filenames.filter((f) => { |       var imageFiles = filenames.filter((f) => { | ||||||
|         return acceptableImages.includes((Path.extname(f) || '').toLowerCase()) |         return acceptableImages.includes((Path.extname(f) || '').toLowerCase()) | ||||||
|       }) |       }) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user