|
@@ -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";
|
|
|
|
|
|
if (isNullES(local) || local === 'undefined') {
|
|
|
+ indexJson.socket = "wss://measure.hczcxx.cn/websocket";
|
|
|
indexJson.localModel = false;
|
|
|
} else {
|
|
|
+ indexJson.socket = "";
|
|
|
indexJson.localModel = true;
|
|
|
}
|
|
|
indexJson.smsPhone = "";
|