Skip to content

Commit

Permalink
fix: generate sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
dasundev committed Apr 6, 2024
1 parent deb17a6 commit fbab9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/GenerateSitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function handle(): void

$errors = Error::approved()
->pluck('slug')
->map(fn ($slug) => Url::create("/error/$slug"));
->map(fn ($slug) => Url::create("/errors/$slug"));

Sitemap::create()
->add($errors)
Expand Down

0 comments on commit fbab9d1

Please sign in to comment.