Skip to content

Commit

Permalink
Fix:Specific podcast rss feed cannot be fetched due to accept header a…
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Jan 10, 2024
1 parent 1a361c9 commit e8fa029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/podcastUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ module.exports.getPodcastFeed = (feedUrl, excludeEpisodeMetadata = false) => {
method: 'GET',
timeout: 12000,
responseType: 'arraybuffer',
headers: { Accept: 'application/rss+xml, application/xhtml+xml, application/xml' },
headers: { Accept: 'application/rss+xml, application/xhtml+xml, application/xml, */*;q=0.8' },
httpAgent: ssrfFilter(feedUrl),
httpsAgent: ssrfFilter(feedUrl)
}).then(async (data) => {
Expand Down

0 comments on commit e8fa029

Please sign in to comment.