fix: contain malformed metadata and stale discovery
This commit is contained in:
@@ -118,7 +118,10 @@ function startBridgeServer() {
|
||||
const handler = createBridgeHandler({
|
||||
bridgeAuth: pairingController.bridgeAuth,
|
||||
sessionStore: runtime.sessionStore,
|
||||
onConnectionStateChanged: sendConnectionState,
|
||||
onConnectionStateChanged: () => {
|
||||
runtime.onSessionChanged();
|
||||
sendConnectionState();
|
||||
},
|
||||
});
|
||||
bridgeServer = http.createServer((request, response) => {
|
||||
handler(request, response).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user