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