Add X-Accel-Buffering header to EventsController

This commit is contained in:
Douglas Barone 2024-01-29 08:27:38 -04:00
parent 489fd793d7
commit 91e5e605e0

View File

@ -12,7 +12,8 @@ export class EventsController {
'Content-Type': 'text/event-stream', 'Content-Type': 'text/event-stream',
Connection: 'keep-alive', Connection: 'keep-alive',
'Cache-Control': 'no-cache', 'Cache-Control': 'no-cache',
'Access-Control-Allow-Origin': '*' 'Access-Control-Allow-Origin': '*',
'X-Accel-Buffering': 'no'
} }
res.writeHead(200, headers) res.writeHead(200, headers)