From c7af9aec13df2cbeb2345987c76ca02014e4a46b Mon Sep 17 00:00:00 2001 From: Vincent BRIDIER Date: Tue, 27 Oct 2026 09:50:12 +0100 Subject: [PATCH] feat: Delete old sitemap config --- config/refresh-sitemap.php | 114 ------------------------------------- 1 file changed, 114 deletions(-) delete mode 100644 config/refresh-sitemap.php diff --git a/config/refresh-sitemap.php b/config/refresh-sitemap.php deleted file mode 100644 index 14b20fd..0000000 --- a/config/refresh-sitemap.php +++ /dev/null @@ -1,114 +0,0 @@ - [ - '/bo' - ], - - /** - * This table is needed to resolve models matching - * routes - * - * it has to be filled like following - * - * 'products.meat-type' => [ - * 'slugMeatType' => [MeatTypes::class, 'slug'] - * ], - * 'kitchen-side.health-nutrition.balanced-menu.menu' => [ - * 'type' => [BalancedMenuType::class, 'type'] - * ] - * - * The index is the complete route name, the array content is an array - * within index is the argument name with its model class. - * This will allow the generator to generate a route for each of the models - * in this table - */ - 'routesBinder' => [ - 'gammes.show' => [ - 'gammeSlug' => [Gamme::class, 'slug'], - ], - 'product.show' => [ - 'gammeSlug' => [Gamme::class, 'slug'], - 'productSlug' => [Product::class, 'slug'] - ] - ], - - /** - * You can put route conditions here - * These will be used to decide whether the route should appear - * in the sitemap or not - * - * These are called in Eloquent where - * - * example - * - * 'queryConditions' => [ - * 'status' => true, - * 'ocbStatus' => EleveurOcbStatus::yes()->value, - * 'star_moment' => true - * ] - * - */ - 'queryConditions' => [], - - /** - * The default route frequency to use with sitemap generator - */ - 'routeDefaultFrequency' => Url::CHANGE_FREQUENCY_DAILY, - - /** - * The default route priority to use with sitemap generator - * - * priority should be a number between 0 and 1 - * https://www.sitemaps.org/protocol.html - */ - 'routeDefaultPriority' => 0.5, - - /** - * Frequencies for routes - * use the full or partial route name as index - * and a frequency within \Spatie\Sitemap\Tags\Url constants - */ - 'routeFrequencies' => [], - - /** - * Priorities for routes - * use the full or partial route name as index - * and a priority number between 0 and 1 - */ - 'routePriorities' => [], - - /** - * Enable or disable schedule for the job - * If set to true the sitemap generator will be run - * using the 'cron' instruction - */ - 'schedule' => false, - - /** - * If you want to set specific - * instruction for when to schedule job - * you can set this with a cron instruction - * You can generate one using https://crontab.guru/ - * https://laravel.com/docs/8.x/scheduling#schedule-frequency-options - * - * schedule must be set to true - * - * Default is every day at 15:45 - */ - 'cron' => '45 15 * * *' -];