From e31299c4e91ff6d0dc1a51eb76aad282122e7069 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Wed, 5 Aug 2026 05:54:08 +0900 Subject: [PATCH] Only sync svgs from the mining pool logos repo --- frontend/sync-assets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/sync-assets.js b/frontend/sync-assets.js index f0797b563..a77b99795 100644 --- a/frontend/sync-assets.js +++ b/frontend/sync-assets.js @@ -230,7 +230,7 @@ const downloadMiningPoolLogos = async () => { const poolLogos = await fetchGitHubContents('/repos/mempool/mining-pool-logos/contents/', !!config.githubToken); let downloadedCount = 0; - const validFiles = poolLogos.filter(item => item.type === 'file' && item.download_url); + const validFiles = poolLogos.filter(item => item.type === 'file' && item.download_url && item.name.toLowerCase().endsWith('.svg')); for (const poolLogo of validFiles) { if (config.verbose) {