diff options
author | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-27 21:37:23 +0200 |
---|---|---|
committer | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-27 21:37:23 +0200 |
commit | c298da2f85fe4ff36c9defb27b48368377a5b687 (patch) | |
tree | f43926794eeef0037deda9b0cbca98561afab9da /WebInterface/NodeJSServer/src | |
parent | 5a317ff78acfd18ca586b763817e0810d030ca08 (diff) |
Changed things
Diffstat (limited to 'WebInterface/NodeJSServer/src')
-rw-r--r-- | WebInterface/NodeJSServer/src/index.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WebInterface/NodeJSServer/src/index.js b/WebInterface/NodeJSServer/src/index.js index c36542b..f2f9c0f 100644 --- a/WebInterface/NodeJSServer/src/index.js +++ b/WebInterface/NodeJSServer/src/index.js @@ -4,4 +4,8 @@ import * as signalR from "@aspnet/signalr"; let backdrop = new Backdrop('menu', 'front-layer', 'show-menu'); backdrop.register(); -console.log('HI') +const connection = new signalR.HubConnectionBuilder() + .withUrl("https://89.183.31.151:5001/chatHub") + .configureLogging(signalR.LogLevel.Information) + .build(); +connection.start().catch(err => console.error(err.toString())); |