Revert "Ensure task module connect to local port of event server"

This reverts commit 05d77ba9aa.
This commit is contained in:
ph4z committed 2021-10-20 04:40:08 +00:00
1 parent 2a8fe5d39b
commit b46c637e75
1 file changed
+3 -3
@@ -23,10 +23,10 @@
if (host === undefined) {
host = 'localhost'
}
if (port === undefined || port !== global.env.CLIENT_WEB_SOCKETS_INTERFACE_PORT) {
if (port === undefined) {
port = global.env.CLIENT_WEB_SOCKETS_INTERFACE_PORT
}
let messageCounter = 0
let commandCounter = 0
@@ -202,4 +202,4 @@
}
sendCommand(eventCommand, responseCallBack)
}
}
}