aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/controllers/bots.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/bots.ts b/server/controllers/bots.ts
index 541b40e8e..8d1fa72f3 100644
--- a/server/controllers/bots.ts
+++ b/server/controllers/bots.ts
@@ -35,8 +35,8 @@ async function getSitemap (req: express.Request, res: express.Response) {
35 35
36 const sitemapStream = new SitemapStream({ hostname: WEBSERVER.URL }) 36 const sitemapStream = new SitemapStream({ hostname: WEBSERVER.URL })
37 37
38 for (const url of urls) { 38 for (const urlObj of urls) {
39 sitemapStream.write({ url }) 39 sitemapStream.write(urlObj)
40 } 40 }
41 sitemapStream.end() 41 sitemapStream.end()
42 42