diff --git a/src/main/java/com/glxp/api/service/sync/WebSocketComponent.java b/src/main/java/com/glxp/api/service/sync/WebSocketComponent.java index 97f6cf8aa..0efc43240 100644 --- a/src/main/java/com/glxp/api/service/sync/WebSocketComponent.java +++ b/src/main/java/com/glxp/api/service/sync/WebSocketComponent.java @@ -34,7 +34,7 @@ public class WebSocketComponent implements CommandLineRunner { SyncDataSetEntity syncDataSetEntity = syncDataSetDao.selectSet(); String ip = syncDataSetEntity.getSyncIp(); ip = ip.replace("http://", ""); - ip = ip.replace("/SP_SYNC_SERVER", ""); +// ip = ip.replace("/SP_SYNC_SERVER", ""); try { SpsWebSocketClient client = new SpsWebSocketClient("ws://" + ip + "/sps/web/sync/2/" + socketToken); client.setSocketMsgService(socketMsgService);