wenhongquan 2 years ago
parent
commit
8d3e83779d
5 changed files with 11 additions and 11 deletions
  1. 7 7
      index.html
  2. 1 1
      public/js/common.js
  3. 1 1
      public/main.js
  4. 1 1
      public/webClient/defaultConfig.js
  5. 1 1
      src/constants/constants.ts

+ 7 - 7
index.html

@@ -14,20 +14,20 @@
     <script src="./lib/md5.js"></script>
     <script src="./lib/jsencrypt.min.js"></script>
     <!-- <script src="./flexible.js"></script> -->
-    <script src="./login.js?time=3"></script>
-    <script src="./webClient/defaultConfig.js?time=116"></script>
-    <script src="./webClient/initWebSocket.js?time=128"></script>
-    <script src="./webClient/webClient_initWnd.js?time=1225"></script>
+    <script src="./login.js?time=6"></script>
+    <script src="./webClient/defaultConfig.js?time=117"></script>
+    <script src="./webClient/initWebSocket.js?time=129"></script>
+    <script src="./webClient/webClient_initWnd.js?time=1226"></script>
 
 
 
     <!--    <script src="../webClient/defaultConfig.js"></script>-->
     <!--    <script src="../webClient/initWebSocket.js"></script>-->
     <!--    <script src="../webClient/webClient_initWnd.js"></script>-->
-    <script src="./js/common.js?time=6"></script>
+    <script src="./js/common.js?time=7"></script>
 
-    <script src="./meeting.js?time=45"></script>
-    <script src="./js/videoplay.js?time=4"></script>
+    <script src="./meeting.js?time=46"></script>
+    <script src="./js/videoplay.js?time=5"></script>
 
     <!-- <script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.g6-3.1.1/build/g6.js"></script> -->
     <link rel="stylesheet" href="<%- mapurl %>/minemapapi/v2.1.0/minemap.css">

+ 1 - 1
public/js/common.js

@@ -2,7 +2,7 @@ var setting = {
     username: window.spuser,
     password: "huashe123",
     ip: "10.55.134.3",
-    host: "http",
+    host: "https",
     port: "8320",
 };
 setting.URL = setting.host + "://" + setting.ip + ":" + setting.port;

+ 1 - 1
public/main.js

@@ -4,7 +4,7 @@ var setting = {
     username: window.spuser,
     password: "huashe123",
     ip: "10.55.134.3",
-    host: "http",
+    host: "https",
     port: "8320",
 };
 

+ 1 - 1
public/webClient/defaultConfig.js

@@ -11,7 +11,7 @@
 */
 let defaultConfig = { // 默认配置,可以通过option覆盖
     // 协议
-    protocol: location.protocol === "file:" ? "http" : location.protocol.split(":")[0],
+    protocol: location.protocol === "file:" ? "https" : location.protocol.split(":")[0],
     // 开发环境配置
     loginIp: '10.55.134.3', // DEMO采用登陆页面的地址,   若第三方自行开发,请填写大华服务器对应的IP
     port: '8320' //  DEMO采用登陆页面的映射端口,若第三方自行开发,请填写大华服务器对应的端口

+ 1 - 1
src/constants/constants.ts

@@ -8,7 +8,7 @@ export const DA_HUA = {
   username: window.spuser,
   password: 'huashe123',
   ip: '10.55.134.3',
-  host: 'http',
+  host: 'https',
   port: '8320',
 };