Create sitemap

This commit is contained in:
2024-02-15 10:19:52 +01:00
parent 92c470aade
commit 23b96a3942
2 changed files with 9 additions and 7 deletions

View File

@@ -20,7 +20,8 @@ if (!isLoggedIn()) {
if($routerRequest["site_name"] == "sitemap.xml") {
require "lib/sitemap.php";
return generateSitemap();
echo generateSitemap();
exit();
}
if ($routerRequest["type"] == "api") {