Skip to content

Commit

Permalink
Sitemap generator - path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubthedeveloper committed Feb 9, 2022
1 parent 8e17fb9 commit db1132e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator/SitemapGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function generate(): void

foreach ($this->pagesConfig->getPagesConfig()->all() as $page) {
$generator->addURL(
path: $page->outputFile,
path: '/' . $page->outputFile,
lastModified: new \DateTime(),
changeFrequency: 'daily',
priority: 0.5
Expand Down

0 comments on commit db1132e

Please sign in to comment.