From 89fecb11b1cae5baa80e482256291487e036d437 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sat, 29 Nov 2025 16:31:45 +0700 Subject: fix backend ordering, some changes --- frontend/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/main.js') diff --git a/frontend/main.js b/frontend/main.js index 4f47473..6f953ce 100644 --- a/frontend/main.js +++ b/frontend/main.js @@ -5,7 +5,7 @@ const data = { machine: 2, } -const API_URL = "http://localhost:8000" +const API_URL = "https://backend.laundryweb.altafcreator.com" // --- permission request const btn = document.getElementById("notbtn") @@ -90,7 +90,7 @@ async function startUpdateMachines() { updateMachines(); while (true) { - await delay(60 * 1000); + await delay(30 * 1000); await updateMachines(); } -- cgit v1.2.3