Skip to content

Commit

Permalink
added keep-alive header
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodacus committed Jan 5, 2025
1 parent 47b49c8 commit 4735894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/routes/api.chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ async function chatAction({ context, request }: ActionFunctionArgs) {
status: 200,
headers: {
contentType: 'text/event-stream',
connection: 'keep-alive',
},
});
} catch (error: any) {
Expand Down

0 comments on commit 4735894

Please sign in to comment.