Altro test reconnect
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user