diff --git a/projects/WebSPA/wwwroot/icon-76.png b/projects/WebSPA/wwwroot/icon-76.png new file mode 100644 index 00000000..fd21bf92 Binary files /dev/null and b/projects/WebSPA/wwwroot/icon-76.png differ diff --git a/projects/WebSPA/wwwroot/icon-76@2x.png b/projects/WebSPA/wwwroot/icon-76@2x.png new file mode 100644 index 00000000..cc2781e2 Binary files /dev/null and b/projects/WebSPA/wwwroot/icon-76@2x.png differ diff --git a/projects/WebSPA/wwwroot/js/message.js b/projects/WebSPA/wwwroot/js/message.js index 81650c46..c9a463f9 100644 --- a/projects/WebSPA/wwwroot/js/message.js +++ b/projects/WebSPA/wwwroot/js/message.js @@ -1,6 +1,7 @@ var hubUrl = config.hubUrl; -var connection = new signalR.HubConnectionBuilder().withUrl(hubUrl).build(); +var connection = new signalR.HubConnectionBuilder().withUrl(hubUrl).withAutomaticReconnect().build(); var connectionId; + function connect() { if (connection.state === signalR.HubConnectionState.Disconnected) { connection.start().then(function () {