change location of camera image

This commit is contained in:
Sem van der Hoeven
2023-05-30 14:50:51 +02:00
parent bc1bc0dae6
commit 00f6307909
3 changed files with 12 additions and 13 deletions

View File

@@ -158,7 +158,7 @@
xhr.onload = (e) => {
console.log("response image received");
const img = e.response;
document.getElementById("picture").src = "data:image/png;base64," + img;
document.getElementById("picture").src = img;
}
console.log("sending picture request")
xhr.send();