Desktop Web App connecting to host and webSocketPort from Client Node

This commit is contained in:
Luis Fernando Molina committed 2021-11-08 17:59:41 +01:00
1 parent aada1165d1
commit 450d3d26df
4 files changed
+16 -1

No files matched your search

@@ -24,7 +24,7 @@ function newSocialTradingModulesWebSocketsWebClient() {
async function initialize() {
socketClient = new WebSocket('ws://' + UI.environment.DESKTOP_WEB_SOCKETS_INTERFACE_HOST + ':' + UI.environment.DESKTOP_WEB_SOCKETS_INTERFACE_PORT)
socketClient = new WebSocket('ws://' + JSON.parse(UI.clientNode.config).host + ':' + JSON.parse(UI.clientNode.config).webSocketsPort)
await setUpWebsocketClient()
}