From 46da258efc4ea4683b06402c0ab3608238db7bc7 Mon Sep 17 00:00:00 2001 From: Andy Pack Date: Sat, 12 Nov 2022 11:05:42 +0000 Subject: [PATCH] adding automatic reconnect to signalr --- Selector.Web/scripts/now.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Selector.Web/scripts/now.ts b/Selector.Web/scripts/now.ts index 8435d4e..507ce1d 100644 --- a/Selector.Web/scripts/now.ts +++ b/Selector.Web/scripts/now.ts @@ -10,6 +10,7 @@ import BaseInfoCard from "./Now/BaseInfoCard"; const connection = new signalR.HubConnectionBuilder() .withUrl("/hub") + .withAutomaticReconnect() .build(); connection.start()