From c298da2f85fe4ff36c9defb27b48368377a5b687 Mon Sep 17 00:00:00 2001 From: TrueKuehli Date: Thu, 27 Sep 2018 21:37:23 +0200 Subject: Changed things --- WebInterface/NodeJSServer/src/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'WebInterface/NodeJSServer/src') 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())); -- cgit v1.2.3-70-g09d2