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) {
|
shouldReconnect(event) {
|
||||||
console.debug("[Websocket] shouldReconnect", event);
|
console.debug("[Websocket] shouldReconnect", event);
|
||||||
return isLegacySignalingEnabled.current;
|
return !isLegacySignalingEnabled.current;
|
||||||
},
|
},
|
||||||
|
|
||||||
onClose(event) {
|
onClose(event) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue