remove api server pings
This commit is contained in:
parent
8992facc1f
commit
bdd7f6f7e9
@ -14,7 +14,6 @@ async function testPing() {
|
||||
const urls = [
|
||||
'https://aidxn.fun/ping',
|
||||
'https://kantor.aidxn.fun/ping',
|
||||
'https://api.aidxn.fun/ping'
|
||||
];
|
||||
|
||||
const pingResults = await Promise.all(
|
||||
@ -29,11 +28,6 @@ async function testPing() {
|
||||
status1.textContent = `[ONLINE - ${time} ms]`
|
||||
status1.className = 'text-green-500 font-bold';
|
||||
}
|
||||
if (url === 'https://api.aidxn.fun/ping') {
|
||||
const api = document.getElementById("api");
|
||||
api.textContent = `[ONLINE - ${time} ms]`
|
||||
api.className = 'text-green-500 font-bold';
|
||||
}
|
||||
return { url, time };
|
||||
})
|
||||
);
|
||||
@ -53,10 +47,6 @@ async function testPing() {
|
||||
oldText = status1.textContent;
|
||||
status1.textContent = oldText + ' [FASTEST]';
|
||||
}
|
||||
if (fastestServer === 'https://api.aidxn.fun/ping') {
|
||||
oldText = api.textContent;
|
||||
api.textContent = oldText + ' [FASTEST]';
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user