Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsuttlemyre authored May 20, 2024
1 parent 52fd5fd commit 006c626
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
const dataURL = canvas.toDataURL('image/png');
const base64Image = dataURL.split(',')[1];
//document.body.appendChild(canvas);
console.log('sending data',data)
conn.send({
let data = {
dataURL: dataURL
})
}
console.log('sending data',data)
conn.send(data)
});


Expand Down

0 comments on commit 006c626

Please sign in to comment.