Mercurial > code > home > repos > streamed-graph
changeset 87:910e2037d72d
SSE withCredentials: true
author | drewp@bigasterisk.com |
---|---|
date | Thu, 25 Nov 2021 18:52:07 -0800 |
parents | 6ec759f9009f |
children | ac7ad087d474 |
files | src/streamed_graph_client.ts |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/streamed_graph_client.ts Thu Nov 25 18:15:08 2021 -0800 +++ b/src/streamed_graph_client.ts Thu Nov 25 18:52:07 2021 -0800 @@ -59,7 +59,7 @@ throw new Error("zombie eventsource"); } - this.events = new EventSource(eventsUrl); + this.events = new EventSource(eventsUrl, { withCredentials: true }); this.events.addEventListener("error", (ev) => { // todo: this is piling up tons of retries and eventually multiple connections