remove camera code

This commit is contained in:
ishak jmilou.ishak
2025-01-09 11:59:34 +01:00
parent 9eb9822cff
commit 092e4f5aeb

View File

@@ -48,10 +48,10 @@ document.addEventListener("DOMContentLoaded", function() {
} }
// Update the image // Update the image
function updateImage() { // function updateImage() {
var img = document.getElementById("robot-image"); // var img = document.getElementById("robot-image");
img.src = "/image?" + new Date().getTime(); // Add timestamp to avoid caching // img.src = "/image?" + new Date().getTime(); // Add timestamp to avoid caching
} // }
// Fetch and display sensor data every 1 second // Fetch and display sensor data every 1 second
setInterval(parseData, 1000); setInterval(parseData, 1000);