소스 검색

小窗地址

zhouna 4 년 전
부모
커밋
af100aa7b4
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/utils/config.js

+ 5 - 0
src/utils/config.js

@@ -36,6 +36,11 @@ function geturl(){
             gourl:'http://192.168.2.121:5654/cdss.html',
             imgurl:'http://192.168.2.121:82'
         }
+    }else if(window.location.href.indexOf('192.168.2.122')>-1){
+        return {
+            gourl:'http://192.168.2.122:5654/cdss.html',
+            imgurl:'http://192.168.2.122:82'
+        }
     }else{
         return {
             // gourl:'http://192.168.2.122:5654/cdss.html',