joa brainrod halt

This commit is contained in:
derlole
2025-05-06 15:34:22 +00:00
parent a5c03d9e41
commit 0d7e6e7925

View File

@@ -80,6 +80,11 @@
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);
});
}
</script>
</body>