diff --git a/src/site/api/update_stream.js b/src/site/api/update_stream.js index 2fc8319..f1cfd28 100644 --- a/src/site/api/update_stream.js +++ b/src/site/api/update_stream.js @@ -19,10 +19,14 @@ module.exports = [ } }) streams.add(stream) + stream.push(":connected\n\n") return { statusCode: 200, contentType: "text/event-stream", + headers: { + "X-Accel-Buffering": "no" + }, stream } }