adding automatic reconnect to signalr
This commit is contained in:
parent
2a6026360b
commit
46da258efc
@ -10,6 +10,7 @@ import BaseInfoCard from "./Now/BaseInfoCard";
|
||||
|
||||
const connection = new signalR.HubConnectionBuilder()
|
||||
.withUrl("/hub")
|
||||
.withAutomaticReconnect()
|
||||
.build();
|
||||
|
||||
connection.start()
|
||||
|
Loading…
Reference in New Issue
Block a user