summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/main.js4
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();
}