Skip to content

Commit

Permalink
Merge pull request #54 from marcaufderheyde/develop
Browse files Browse the repository at this point in the history
[CAN-69] Hotifxes path that sitemaps are written to
  • Loading branch information
joneshector authored Apr 17, 2024
2 parents 5013633 + bbfa10d commit 06dfb66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate-sitemap.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async function generate() {
parser: 'html',
});

writeFileSync(path.join('', `sitemap-${lang}.xml`), formatted); // Use path.join to construct file path
writeFileSync(path.join('out', `sitemap-${lang}.xml`), formatted); // Use path.join to construct file path
}

// generate sitemap index file here
Expand All @@ -91,7 +91,7 @@ async function generate() {
parser: 'html',
});

writeFileSync(path.join('', `sitemap.xml`), formatted);
writeFileSync(path.join('out', `sitemap.xml`), formatted);

}

Expand Down

0 comments on commit 06dfb66

Please sign in to comment.