diff --git a/wwwroot/js/site.js b/wwwroot/js/site.js index 860f1f0..62e266b 100644 --- a/wwwroot/js/site.js +++ b/wwwroot/js/site.js @@ -1,4 +1,7 @@ -let connection = new signalR.HubConnectionBuilder().withUrl("/noteHub").build(); +let connection = new signalR.HubConnectionBuilder() + .withAutomaticReconnect() + .withUrl("/noteHub") + .build(); let start = function () {