From ca06a91dc6e391d4c0ca73d4fb7aeca528b48908 Mon Sep 17 00:00:00 2001 From: Joe Lothan Date: Sun, 17 May 2026 23:01:53 -0400 Subject: [PATCH] don't allow 1 pixel favicons --- pipeline/04_best_icon/select.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/04_best_icon/select.sql b/pipeline/04_best_icon/select.sql index bb0219c..aa723f8 100644 --- a/pipeline/04_best_icon/select.sql +++ b/pipeline/04_best_icon/select.sql @@ -18,6 +18,8 @@ FROM ( WHERE i.scan_state = 'completed' AND i.s3_key IS NOT NULL AND i.content_type NOT IN ('image/svg+xml') + AND (i.width IS NULL OR i.width > 2) + AND (i.height IS NULL OR i.height > 2) ORDER BY i.host_id, CASE WHEN i.width = i.height AND i.width IN (64, 48, 32, 16) THEN 0