add sse comment

This commit is contained in:
Makussu 2024-06-06 20:51:40 +02:00
parent f8f6e73fdc
commit e8aeac48c5

1
sse.js
View File

@ -20,6 +20,7 @@ function delay(message) {
const timeout = (ms) => new Promise(resolve => setTimeout(resolve, ms));
// The while loop doesnt wait for the promise so sometimes it doesnt send the update
async function sse(request, response) {
//header so setzen