Fix SSE auth by adding withCredentials for cross-origin support

This commit is contained in:
Chris Scott committed 2026-01-24 18:28:59 -05:00
1 parent b34bf94290
commit 887f4867ab
1 file changed
+1 -1
+1 -1
View File
@@ -162,7 +162,7 @@ class SSEManager {
if (this.eventSource) return
const url = this.buildUrl()
this.eventSource = new EventSource(url)
this.eventSource = new EventSource(url, { withCredentials: true })
this.eventSource.onopen = () => {
this.isConnected = true