fixing a little bug with daily not starting + trying something to fix another issue when there are a lot of logs

This commit is contained in:
piair
2023-10-05 22:06:52 +02:00
parent 7d79b727a9
commit 7c19dcc974
3 changed files with 3 additions and 5 deletions

View File

@ -25,9 +25,7 @@
const eventSource = new EventSource('/stream');
eventSource.onmessage = (event) => {
const newOutput = document.createElement('div');
newOutput.textContent = event.data;
consoleElement.appendChild(newOutput);
document.getElementById("console").innerHTML = event.data + document.getElementById("console").innerHTML
};
</script>