syntax fixes

This commit is contained in:
Aidan 2024-12-09 21:40:18 -05:00
parent 7c26e397bf
commit 582be75c23
No known key found for this signature in database
GPG Key ID: 1773A01F0EFE4FC1
2 changed files with 3 additions and 3 deletions

View File

@ -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 };

View File

@ -9,5 +9,5 @@ module.exports = {
}, },
}, },
plugins: [], plugins: [],
} };