fix(app): retain permission state per server (#36873)

This commit is contained in:
Luke Parker
2026-07-14 15:26:58 +00:00
committed by GitHub
parent f58b8cb67b
commit e7e7a97648
10 changed files with 664 additions and 280 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ export async function installSseTransport<T>(
const request = new Request(input, init)
const url = new URL(request.url)
if (url.origin !== server || (url.pathname !== "/global/event" && url.pathname !== "/event"))
return originalFetch(input, init)
return originalFetch(request)
const id = ++nextConnectionID
const record = {