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`; }