1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Fix podcast feed namespace

This commit is contained in:
Chocobozzz 2025-03-10 08:39:13 +01:00
parent 73c6e9e094
commit 01355d5453
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -82,6 +82,13 @@ async function generateVideoFeed (req: express.Request, res: express.Response) {
author: { name, link: ownerLink },
resourceType: 'videos',
queryString: new URL(WEBSERVER.URL + req.url).search,
customXMLNS: [
{
name: 'podcast',
value: 'https://podcastindex.org/namespace/1.0'
}
],
customTags: videoChannel
? [ getPodcastFeedUrlCustomTag(videoChannel) ]
: []