Skip to content

Commit

Permalink
Fix:Fetch RSS feed request accept header advplyr#2446
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Dec 25, 2023
1 parent bdb5dc8 commit 0d0bdce
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' },
headers: { Accept: 'application/rss+xml, application/xhtml+xml, application/xml' },
httpAgent: ssrfFilter(feedUrl),
httpsAgent: ssrfFilter(feedUrl)
}).then(async (data) => {
Expand Down

0 comments on commit 0d0bdce

Please sign in to comment.