From: Daniel Karbach Date: Wed, 6 Apr 2022 07:59:09 +0000 (+0200) Subject: fix sitemap X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=c9a9e5a8836bc127c62316201854073abbe5d975;p=alttp.git fix sitemap whoops --- diff --git a/app/Http/Controllers/SitemapXmlController.php b/app/Http/Controllers/SitemapXmlController.php index 35302c4..03a41c4 100644 --- a/app/Http/Controllers/SitemapXmlController.php +++ b/app/Http/Controllers/SitemapXmlController.php @@ -14,7 +14,7 @@ class SitemapXmlController extends Controller foreach (Tournament::all() as $tournament) { $url = new SitemapUrl(); - $url->path = '/tournaments'.$tournament->id; + $url->path = '/tournaments/'.$tournament->id; $url->lastmod = $tournament->updated_at ? $tournament->updated_at : ($tournament->created_at ? $tournament->created_at : now()); $url->changefreq = $tournament->locked ? 'never' : 'daily'; $url->priority = $tournament->locked ? 0.5 : 1.0;