server-test

This commit is contained in:
derlole
2025-05-06 14:33:02 +00:00
parent 85d9e82f8f
commit 46736f619b
4 changed files with 30 additions and 29 deletions

View File

@@ -80,17 +80,6 @@
function toggleMachine() {
document.getElementById("machine-status").innerText = "PENDING";
document.getElementById("machine-status-butt").classList.add("blink-orange");
// fetch('/unsecure/esp/toggle-machine', { method: 'POST' })
// .then(res => res.json())
// .then(data => {
// //console.log(data);
// const inner = JSON.parse(data.status);
// if (inner.command === 'machineToggle') {
// } else {
// document.getElementById("machine-status").innerText = "SOME_ERR";
// }
// });
}
</script>
</body>