浏览代码

改html请求路径

pzb 5 年之前
父节点
当前提交
b53302738b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/js/jqhttpsdk.js

+ 1 - 1
web/js/jqhttpsdk.js

@@ -10,7 +10,7 @@ let domain = document.domain;
 // let http_ip_prot = 'http://47.107.129.126:7724/';
 
 var http_ip_prot = convertTemp()+ "/";
-	if( http_ip_prot.indexOf("zositech")==-1 ){
+	if( http_ip_prot.indexOf("zositech")==-1 ||  http_ip_prot.indexOf("47.107.129.126")==-1){
 		http_ip_prot="http://192.168.136.39:8000/";
 //		http_ip_prot="http://www.zositech.xyz:7724/";
 		console.log(http_ip_prot);