ZaiZai 6 months ago
parent
commit
6ada4874b1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/build/config.js

+ 2 - 0
scripts/build/config.js

@@ -51,8 +51,10 @@ indexJson.version = dateFormat(new Date());         //版本号
 indexJson.target = "http://127.0.0.1:8090";         //接口地址
 //本地模式,开启后,将关闭https强转、截图等相关功能
 if (isNullES(local) || local === 'undefined') {
+    indexJson.socket = "wss://measure.hczcxx.cn/websocket";
     indexJson.localModel = false;
 } else {
+    indexJson.socket = "";
     indexJson.localModel = true;
 }
 indexJson.smsPhone = "";                            //短信接口手机号