mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix sitemap
This commit is contained in:
parent
45c6bcf312
commit
93708d4e40
@ -35,8 +35,8 @@ async function getSitemap (req: express.Request, res: express.Response) {
|
||||
|
||||
const sitemapStream = new SitemapStream({ hostname: WEBSERVER.URL })
|
||||
|
||||
for (const url of urls) {
|
||||
sitemapStream.write({ url })
|
||||
for (const urlObj of urls) {
|
||||
sitemapStream.write(urlObj)
|
||||
}
|
||||
sitemapStream.end()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user