Skip to content

Commit

Permalink
chore: add some more misc headers to logstream
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Apr 22, 2024
1 parent d7bba7a commit 59f4531
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/ts/misc/logStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export async function createLogStream(

return new Response(logStream, {
headers: {
"Content-Type": "text/event-stream"
"Content-Type": "text/event-stream",
Connection: "keep-alive",
"Cache-Control": "no-cache"
}
});
}
Expand Down

0 comments on commit 59f4531

Please sign in to comment.