Stop /poweroff reloading. Update 3D files

This commit is contained in:
Matt
2025-12-13 23:53:34 +00:00
parent 00c3c85c67
commit bc537c158a
4 changed files with 4962 additions and 3957 deletions

View File

@@ -453,7 +453,7 @@ document.getElementById('resetBtn').addEventListener('click', () => {
window.location.reload();
});
document.getElementById('powerOff').addEventListener('click', () => {
navigator.sendBeacon("/poweroff");
window.location.href = "/poweroff";
});
setParams();
connect();