zhengkaixin 3 년 전
부모
커밋
e7688738bb
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      js/script.js
  2. 1 0
      readme.md

+ 4 - 0
js/script.js

@@ -9,6 +9,10 @@ var Constant = {
 	if(window.location.href.indexOf("http://127.0.0.1:8848/")>=0){
 		Constant.serverUrl="http://127.0.0.1:8086/website-server/"
 	}
+	if(window.location.href.indexOf("http://192.168.8.61:8848/")>=0){
+		Constant.serverUrl="http://192.168.8.61:8086/website-server/"
+	}
+	
 	getQueryVariable()
 	function getQueryVariable()
 	{

+ 1 - 0
readme.md

@@ -0,0 +1 @@
+js/script.js中配置环境url