Browse Source

新增https

wuyongxiang 4 years ago
parent
commit
4360fffd0b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      screenH5/homeNew.html

+ 2 - 2
screenH5/homeNew.html

@@ -415,7 +415,7 @@
 							"userCardId": this.homeList[activeIndex].id,
 							"userCardId": this.homeList[activeIndex].id,
 							"deviceStatus": 1,
 							"deviceStatus": 1,
 						};
 						};
-						var baseUrl = "http://192.168.31.20";
+						var baseUrl = "https://192.168.31.20";
 						var urlss = 'test.androidscloud.com'
 						var urlss = 'test.androidscloud.com'
 						let that = this;
 						let that = this;
 						
 						
@@ -550,7 +550,7 @@
 					},
 					},
 					gethomeList() {
 					gethomeList() {
 						// var baseUrl = 'https://test.androidscloud.com';
 						// var baseUrl = 'https://test.androidscloud.com';
-						var baseUrl = "http://192.168.31.20";
+						var baseUrl = "https://192.168.31.20";
 						var query = window.location.search.substring(1);
 						var query = window.location.search.substring(1);
 						var vars = query.split("&");
 						var vars = query.split("&");
 						var tokens = vars.find(e => {
 						var tokens = vars.find(e => {