Altro test reconnect

This commit is contained in:
Samuele Locatelli
2024-03-04 16:37:20 +01:00
parent f0201bcb25
commit 3a9469ebc5
+5 -2
View File
@@ -68,9 +68,12 @@
console.error(error);
setTimeout(function () {
location.reload();
}, 5000);
}, 10000);
},
onConnectionUp: () => console.log("Client reconnected!")
onConnectionUp: () => {
console.log("Client reconnected!");
document.location.reload();
}
}
}).then(() => {
Blazor.defaultReconnectionHandler._reconnectCallback = function (d) {