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

This commit is contained in:
Luke Parker 2026-07-15 01:26:58 +10:00 committed by GitHub
commit e7e7a97648
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 650 additions and 266 deletions

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 = {