Public Access
Ping api.{host}/favicon.ico instead of {host}/favicon.ico
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user