ZaiZai 6 months ago
parent
commit
9e859ecba4
2 changed files with 4 additions and 3 deletions
  1. 1 1
      public/version.json
  2. 3 2
      scripts/build/config.js

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240903180810"
+  "value": "20240904114145"
 }

+ 3 - 2
scripts/build/config.js

@@ -47,8 +47,9 @@ if(!fs.existsSync(cacheFilePath)) {
 
 //修改配置文件
 const indexJson = JSON.parse(indexJsonContent);
-indexJson.version = dateFormat(new Date());         //版本号
-indexJson.target = "http://127.0.0.1:8090";         //接口地址
+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.localModel = false;