@ -104,7 +104,7 @@ public class UserController {
public String queryWebSocketUrl() {
String template = "wss://{}:{}/virtual-patient-websocket/";
// 如果是本地开发环境,则获取本机IP地址
if ("dev".equals(active)) {
if ("local".equals(active)) {
String localhostStr = NetUtil.getLocalhostStr();
return StrUtil.format(template, localhostStr, port);
} else {