initial commmit google
tests / ci (push) Canceled after 0s

This commit is contained in:
Mark Gregory
2026-09-30 15:34:16 +01:00
parent 0c70b16433
commit 17cc4a7bc0
26 changed files with 46 additions and 27 deletions
+4 -2
View File
@@ -25,6 +25,8 @@ Route::get('/sitemap.xml', function () {
['loc' => route('evidence.create'), 'lastmod' => $lastModified, 'changefreq' => 'monthly', 'priority' => '0.6'],
];
return response()->view('sitemap', compact('urls'))
->header('Content-Type', 'application/xml');
$xml = view('sitemap', compact('urls'))->render();
return response($xml, 200)
->header('Content-Type', 'application/xml; charset=UTF-8');
})->name('sitemap');