mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-19 00:18:56 +01:00
Fix:Fetch RSS feed request accept header #2446
This commit is contained in:
parent
bdb5dc8c28
commit
0d0bdce337
@ -233,7 +233,7 @@ module.exports.getPodcastFeed = (feedUrl, excludeEpisodeMetadata = false) => {
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
timeout: 12000,
|
timeout: 12000,
|
||||||
responseType: 'arraybuffer',
|
responseType: 'arraybuffer',
|
||||||
headers: { Accept: 'application/rss+xml' },
|
headers: { Accept: 'application/rss+xml, application/xhtml+xml, application/xml' },
|
||||||
httpAgent: ssrfFilter(feedUrl),
|
httpAgent: ssrfFilter(feedUrl),
|
||||||
httpsAgent: ssrfFilter(feedUrl)
|
httpsAgent: ssrfFilter(feedUrl)
|
||||||
}).then(async (data) => {
|
}).then(async (data) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user