# HG changeset patch # User drewp@bigasterisk.com # Date 1637895127 28800 # Node ID 910e2037d72d58f0757169ee590943599e16ff77 # Parent 6ec759f9009faea36d6ffe18b5b3d9ea3e56cafd SSE withCredentials: true diff -r 6ec759f9009f -r 910e2037d72d src/streamed_graph_client.ts --- 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