From b5913e1f986c24dbbe06b098cd06db682575b1cf Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 6 Apr 2020 09:15:53 +0200 Subject: [PATCH] Update EventServerClient.js --- EventServerClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EventServerClient.js b/EventServerClient.js index 5f275996b..a094c4314 100644 --- a/EventServerClient.js +++ b/EventServerClient.js @@ -123,7 +123,7 @@ } if (WEB_SOCKETS_CLIENT.readyState === 1) { // 1 means connected and ready. - WEB_SOCKETS_CLIENT.send("Task Server||" + JSON.stringify(command)) + WEB_SOCKETS_CLIENT.send("Task Server" + "|*|" + "|*|" + JSON.stringify(command)) } else { console.log('[ERROR] Task Server -> Event Server Client -> setuptWebSockets -> sendCommand -> WebSocket message could not be sent because the connection was not ready. Message = ' + JSON.stringify(command)) }