je comprend pas pk ca marche pas

This commit is contained in:
piair
2023-10-02 23:19:17 +02:00
parent 1e7f283e80
commit 6d91b6e491
2 changed files with 16 additions and 21 deletions

View File

@ -20,6 +20,7 @@
const eventSource = new EventSource('/stream');
eventSource.onmessage = (event) => {
console.log("etqhbbqetbqedrtqberzegr");
const newOutput = document.createElement('div');
newOutput.textContent = event.data;
consoleElement.appendChild(newOutput);