Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Commit

Permalink
fix: add X-Accel-Buffering header (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Jan 26, 2019
1 parent bd219db commit 2a6fdcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/api/Controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class Controller {
res.writeHead(200, {
'Content-Type': 'text/event-stream',
'Cache-Control': 'no-cache',
'X-Accel-Buffering': 'no',
Connection: 'keep-alive',
});

Expand Down

0 comments on commit 2a6fdcb

Please sign in to comment.