internal linking

This commit is contained in:
2026-08-11 00:06:19 +03:00
parent 443ff374c3
commit 6ffb24f20a
6 changed files with 261 additions and 16 deletions
+2 -2
View File
@@ -9,11 +9,11 @@ class MirrorToolLogos extends Command
{
protected $signature = 'tools:mirror-logos';
protected $description = 'Queue jobs to download externally-hosted tool logos and serve them from local storage';
protected $description = 'Queue jobs to resolve and download tool logos (external, missing, or broken) and serve them from local storage';
public function handle(): int
{
$tools = Tool::query()->whereNotNull('logo_url')->get()->reject->hasLocalLogo();
$tools = Tool::query()->get()->reject->hasLocalLogo();
$tools->each->queueLogoMirrorIfNeeded();