diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-11-29 16:31:45 +0700 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-11-29 16:31:45 +0700 |
| commit | 89fecb11b1cae5baa80e482256291487e036d437 (patch) | |
| tree | 619d890b083c0012714d102ab815727bbca41f30 /frontend | |
| parent | b107add5afb23a710e3297249e314eeee6bf0563 (diff) | |
fix backend ordering, some changes
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |
