From 7ff83424592cd5a3c58fe2e6d7e67aeef5144caf Mon Sep 17 00:00:00 2001 From: horus Date: Sat, 27 Jun 2026 05:40:45 +0200 Subject: merge --- ssh/app/Console/Commands/GenerateSitemap.php | 52 ---------------------------- ssh/app/Console/Kernel.php | 41 ---------------------- 2 files changed, 93 deletions(-) delete mode 100644 ssh/app/Console/Commands/GenerateSitemap.php delete mode 100644 ssh/app/Console/Kernel.php (limited to 'ssh/app/Console') diff --git a/ssh/app/Console/Commands/GenerateSitemap.php b/ssh/app/Console/Commands/GenerateSitemap.php deleted file mode 100644 index 46bb0ac..0000000 --- a/ssh/app/Console/Commands/GenerateSitemap.php +++ /dev/null @@ -1,52 +0,0 @@ -shouldCrawl(function (UriInterface $url) { - /** - * Prevent the crawler from crawling the random pages. - */ - return strpos($url->getPath(), '/random') === false; - }) - ->writeToFile(public_path('sitemap.xml')); - } -} diff --git a/ssh/app/Console/Kernel.php b/ssh/app/Console/Kernel.php deleted file mode 100644 index 69914e9..0000000 --- a/ssh/app/Console/Kernel.php +++ /dev/null @@ -1,41 +0,0 @@ -command('inspire')->hourly(); - } - - /** - * Register the commands for the application. - * - * @return void - */ - protected function commands() - { - $this->load(__DIR__.'/Commands'); - - require base_path('routes/console.php'); - } -} -- cgit v1.2.3