Add X-Accel-Buffering header to EventsController
This commit is contained in:
parent
489fd793d7
commit
91e5e605e0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user