he wei
2025-04-23 b9bd29a1a81f6f7de479e3cc3fdfe3d85fc660bf
src/utils/getWsUrl.js
@@ -4,7 +4,7 @@
 * @returns {string}
 */
function getWsUrl(action, port) {
  let _port = port ? port : 8100;
  let _port = port ? port : 8101;
  let hostname = window.location.hostname;
  let wsProtocol = "ws://";
  if (window.location.protocol == "https:") {
@@ -17,7 +17,7 @@
  }
  // 处理端口为80
  _port = _port == 80 ? "" : ":" + _port;
  return wsProtocol + hostname + _port + "/bl/" + action;
  return wsProtocol + hostname + _port + "/bl_plus/" + action;
}
export default getWsUrl;