adding automatic reconnect to signalr

This commit is contained in:
Andy Pack 2022-11-12 11:05:42 +00:00
parent 2a6026360b
commit 46da258efc
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -10,6 +10,7 @@ import BaseInfoCard from "./Now/BaseInfoCard";
const connection = new signalR.HubConnectionBuilder()
.withUrl("/hub")
.withAutomaticReconnect()
.build();
connection.start()