quyueting 5 năm trước cách đây
mục cha
commit
5c05922e00
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      minigame/WebContent/index.html

+ 4 - 1
minigame/WebContent/index.html

@@ -22,6 +22,9 @@
     <script src="https://www.w3cways.com/demo/vconsole/vconsole.min.js?v=2.2.0"></script>
     <script>
         window.ifDebug = true;
+        if (location.href.startsWith('http://')) {
+        	location.href = location.href.replace('http','https');
+        }
     </script>
   </head>
 <body onload="getInfo()">
@@ -146,7 +149,7 @@
     <script src="./js/wechat.js"></script>
     <script src="./assets.js?v=2"></script>
     <script src="./js/music.js?v=1"></script>
-    <script src="./js/main.js?v=6"></script>
+    <script src="./js/main.js?v=7"></script>
     <script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
 	<!-- 必须加在微信api资源 --> 
 	<script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>