mirror of https://github.com/jetkvm/kvm.git
fix: correct websocket reconnection logic for legacy signaling
This commit is contained in:
parent
1cf7dd4be9
commit
29b0ac778a
|
|
@ -251,7 +251,7 @@ export default function KvmIdRoute() {
|
|||
|
||||
shouldReconnect(event) {
|
||||
console.debug("[Websocket] shouldReconnect", event);
|
||||
return isLegacySignalingEnabled.current;
|
||||
return !isLegacySignalingEnabled.current;
|
||||
},
|
||||
|
||||
onClose(event) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue