From e0bc9509d142df138e27992f04c38f5d1a9ae08b Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Thu, 26 Sep 2024 00:20:26 -0400 Subject: [PATCH] fix sitemap --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 8b36f2e..6e3f88c 100644 --- a/app.js +++ b/app.js @@ -271,7 +271,7 @@ app.get('/sitemap.xml', (req, res) => { let sitemap = `\n\n`; urls.forEach(({ url, lastmod, changefreq, priority }) => { sitemap += ` \n`; - sitemap += ` https://${hostname}${url}\n`; + sitemap += ` https://${url}\n`; if (lastmod) { sitemap += ` ${lastmod}\n`; }