From 602329db27f9c29c2ad0d169021ca7f84066c608 Mon Sep 17 00:00:00 2001 From: Reef Date: Mon, 24 Aug 2026 19:36:46 +0000 Subject: [PATCH] Ping api.{host}/favicon.ico instead of {host}/favicon.ico --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index def71a7..6d2bfb8 100644 --- a/script.js +++ b/script.js @@ -382,7 +382,7 @@ var si = 0, img.onerror = function() { if (!timedOut) { clearTimeout(timer); resolve({ host: host, time: performance.now() - start }); } }; - img.src = 'https://' + host + '/favicon.ico?_=' + Date.now() + '_' + Math.random().toString(36).slice(2,6); + img.src = 'https://api.' + host + '/favicon.ico?_=' + Date.now() + '_' + Math.random().toString(36).slice(2,6); }); }