fix(app): retain permission state per server (#36873)
This commit is contained in:
parent
f58b8cb67b
commit
e7e7a97648
10 changed files with 650 additions and 266 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue