diff --git a/composer.json b/composer.json deleted file mode 100644 index 7a73a41..0000000 --- a/composer.json +++ /dev/null @@ -1,2 +0,0 @@ -{ -} \ No newline at end of file diff --git a/js/ping.js b/js/ping.js deleted file mode 100644 index 2dead66..0000000 --- a/js/ping.js +++ /dev/null @@ -1,37 +0,0 @@ -async function ping(url) { - const start = performance.now(); - try { - await fetch(url); - const end = performance.now(); - return end - start; - } catch (error) { - console.error(`Error pinging ${url}:`, error); - return Infinity; - } -} - -async function testPing() { - const urls = [ - 'https://aidxn.fun/ping', - 'https://kantor.aidxn.fun/ping', - 'https://api.aidxn.fun/ping' - ]; - - const pingResults = await Promise.all( - urls.map(async (url) => { - const time = await ping(url); - return { url, time }; - }) - ); - - pingResults.sort((a, b) => a.time - b.time); - - console.log('Fastest server:', pingResults[0].url); - pingResults.forEach(result => { - console.log(`${result.url}: ${result.time.toFixed(2)} ms`); - }); -} - -window.onload = () => { - testPing(); -}; \ No newline at end of file diff --git a/verify.html b/verify.html deleted file mode 100644 index 4e870f7..0000000 --- a/verify.html +++ /dev/null @@ -1,53 +0,0 @@ - - -
- - -