Skip to content

Commit

Permalink
Update plugin.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant authored Aug 30, 2022
1 parent 4677f76 commit 15fce48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/bfetch/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ export interface BfetchServerSetup {
export interface BfetchServerStart {}

const streamingHeaders = {
'Content-Type': 'text/event-stream',
'Content-Type': 'application/x-ndjson',
Connection: 'keep-alive',
'Transfer-Encoding': 'chunked',
'X-Accel-Buffering': 'no'
};

interface Query {
Expand Down

0 comments on commit 15fce48

Please sign in to comment.