|
|
@@ -91,7 +91,7 @@ public class LogHandler implements WebSocketHandler {
|
|
|
}
|
|
|
|
|
|
public void pushGatewayLog(GatewayLog gatewayLog) {
|
|
|
- WebSocketSession pullSession = getPullAccessSession("tnb", "localhost");
|
|
|
+ WebSocketSession pullSession = getPullAccessSession("tnb", "127.0.0.1");
|
|
|
if (pullSession != null) {
|
|
|
String jsonData = JsonConverter.objectToJson(gatewayLog);
|
|
|
WebSocketMessage<String> message1 = new TextMessage(jsonData);
|