[slug] removed form the sitemap
This commit is contained in:
parent
de8227a351
commit
8b254a8867
File diff suppressed because one or more lines are too long
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user