mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-05 02:34:56 +02:00
Fix:RSS Feed cover, Update:Remove experimental scanner
This commit is contained in:
parent
2e6e4f970c
commit
18123664ee
3 changed files with 10 additions and 8 deletions
|
@ -68,9 +68,9 @@ class RssFeedManager {
|
|||
return
|
||||
}
|
||||
|
||||
const extname = Path.extname(feedData.coverPath).toLowerCase().slice(1)
|
||||
const extname = Path.extname(feed.coverPath).toLowerCase().slice(1)
|
||||
res.type(`image/${extname}`)
|
||||
var readStream = fs.createReadStream(feedData.coverPath)
|
||||
var readStream = fs.createReadStream(feed.coverPath)
|
||||
readStream.pipe(res)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue