syntax fixes
This commit is contained in:
parent
7c26e397bf
commit
582be75c23
@ -21,11 +21,11 @@ async function testPing() {
|
|||||||
const time = await ping(url);
|
const time = await ping(url);
|
||||||
if (url === 'https://aidxn.fun/ping') {
|
if (url === 'https://aidxn.fun/ping') {
|
||||||
const website = document.getElementById("website");
|
const website = document.getElementById("website");
|
||||||
website.textContent = `[ONLINE - ${time} ms]`
|
website.textContent = `[ONLINE - ${time} ms]`;
|
||||||
}
|
}
|
||||||
if (url === 'https://kantor.aidxn.fun/ping') {
|
if (url === 'https://kantor.aidxn.fun/ping') {
|
||||||
const status1 = document.getElementById("status1");
|
const status1 = document.getElementById("status1");
|
||||||
status1.textContent = `[ONLINE - ${time} ms]`
|
status1.textContent = `[ONLINE - ${time} ms]`;
|
||||||
status1.className = 'text-green-500 font-bold';
|
status1.className = 'text-green-500 font-bold';
|
||||||
}
|
}
|
||||||
return { url, time };
|
return { url, time };
|
||||||
|
@ -9,5 +9,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
}
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user