[slug] removed form the sitemap

This commit is contained in:
akash 2025-10-24 14:13:27 +05:30
parent de8227a351
commit 8b254a8867
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -207,7 +207,7 @@ const allLinks = [...staticLinks, ...blogLinks, ...servicesLinks, ...areasLinks,
async function generateSitemap() {
try {
const sitemap = new SitemapStream({ hostname: hostname });
const writeStream = fs.createWriteStream(path.resolve(__dirname, '../out/sitemap.xml'));
const writeStream = fs.createWriteStream(path.resolve(__dirname, '../public/sitemap.xml'));
sitemap.pipe(writeStream);