Skip to content

Commit

Permalink
chore: set Accept: "text/event-stream" on logstream calls
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Apr 20, 2024
1 parent 46399d7 commit 0dabe2e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/routes/new/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
login: data.githubUser.login
}),
headers: {
"content-type": "application/json"
"content-type": "application/json",
Accept: "text/event-stream"
}
});
readLogStream(res, (value) => {
Expand All @@ -50,7 +51,8 @@
cosignPublicKey: keys.cosignPublicKey
}),
headers: {
"content-type": "application/json"
"content-type": "application/json",
Accept: "text/event-stream"
}
});
readLogStream(res, (value) => {
Expand Down

0 comments on commit 0dabe2e

Please sign in to comment.