fix: env api websocket path
This commit is contained in:
@@ -81,7 +81,7 @@ public class EnvironmentWebSocketHandler extends TextWebSocketHandler {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
String urlStr = String.format("%s%s", paramJSONObject.getStr("url"), Constants.ENV_API_PREFIX);
|
String urlStr = String.format("%s%s", paramJSONObject.getStr("url"), Constants.ENV_API_WEBSOCKET_PATH);
|
||||||
urlStr = urlStr.replace("http", "ws");
|
urlStr = urlStr.replace("http", "ws");
|
||||||
|
|
||||||
HttpClient client = HttpClient.newHttpClient();
|
HttpClient client = HttpClient.newHttpClient();
|
||||||
|
|||||||
Reference in New Issue
Block a user