This commit is contained in:
f4ilji
2025-01-12 14:43:16 +05:00
parent 34a4516273
commit 0a5ff27966
4 changed files with 76 additions and 1 deletions
+2
View File
@@ -63,6 +63,8 @@ class GenerateSitemap extends Command
$pages = Page::query()
->where('is_visible', true)
->where('code', 200)
->where('path', '!=', null)
->where('is_url', false)
->get();
$this->addUrlsToSitemap($sitemap, $pages, function($page) {