Skip to content

Commit

Permalink
Fix: URL instead of URI (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
martink635 authored Apr 5, 2024
1 parent 8f5f9ec commit 824fb62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/SitemapController.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private static function entryAbsoluteUrl(Entry $entry)
{
// if seotamic headless mode is set, use that domain, otherwise use the entry absoluteUrl
if (config('seotamic.headless_mode')) {
return config('seotamic.headless_mode') . $entry->uri();
return config('seotamic.headless_mode') . $entry->url();
}

return $entry->absoluteUrl();
Expand Down

0 comments on commit 824fb62

Please sign in to comment.