fix laravel sitemap job, ignore debug bar route
This commit is contained in:
parent
56128b5c41
commit
bda169be66
1 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,8 @@ class RefreshSiteMap implements ShouldQueue
|
|||
'/connexion',
|
||||
'/deconnexion',
|
||||
'/reinitialiser-mdp',
|
||||
'/le-club-des-gaulois/la-boutique'
|
||||
'/le-club-des-gaulois/la-boutique',
|
||||
'/_debugbar' // Hack ignore laravel debug bar
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
@ -79,6 +80,7 @@ class RefreshSiteMap implements ShouldQueue
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
// dd(route("debugbar.clockwork", ['id' => '1']));
|
||||
$this->assertRouteBinderIsCorrect();
|
||||
|
||||
$siteMap = [];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue