소스 검색

删除zbadd

wangchuanjin 4 년 전
부모
커밋
b66aed61f6
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/web/staticres/js/common.js

+ 4 - 4
src/web/staticres/js/common.js

@@ -158,9 +158,9 @@ function redirect(zbadd,link,sid,sds){
 		}
 	}
 	if(sds){
-		window.location.href=zbadd+"/article/content/"+sid+".html?keywords="+encodeURIComponent(sds);
+		window.location.href="/article/content/"+sid+".html?keywords="+encodeURIComponent(sds);
 	}else{
-		window.location.href=zbadd+"/article/content/"+sid+".html";
+		window.location.href="/article/content/"+sid+".html";
 	}
 }
 function newredirect(zbadd,link,sid,sds,index){
@@ -176,9 +176,9 @@ function newredirect(zbadd,link,sid,sds,index){
 	}
 	if(sds){
 		pt = "&"+pt
-		window.location.href=zbadd+"/article/content/"+sid+".html?keywords="+encodeURIComponent(sds)+pt;
+		window.location.href="/article/content/"+sid+".html?keywords="+encodeURIComponent(sds)+pt;
 	}else{
-		window.location.href=zbadd+"/article/content/"+sid+".html"+pt;
+		window.location.href="/article/content/"+sid+".html"+pt;
 	}
 }
 function pcredirect(link,sid){