wenhongquan 9 лет назад
Родитель
Сommit
d49fb48d0a
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      VisualInspection/js/config.js

+ 5 - 0
VisualInspection/js/config.js

@@ -16,6 +16,9 @@ function getserveraddr(){
     }else if(base_ui_url.indexOf("localhost")!=-1){
         return "http://localhost:8089/"
     }
+    else if(base_ui_url.indexOf("192.168.8.236")!=-1){
+        return "http://192.168.8.236:8089/"
+    }
     else{
         return "http://10.112.0.199:8089/"
     }
@@ -23,6 +26,8 @@ function getserveraddr(){
 function getImageaddr(){
     if(base_ui_url.indexOf("topm.win")!=-1){
         return "http://file_yanhai.git.topm.win:8080/";
+    }else if(base_ui_url.indexOf("192.168.8.236")!=-1){
+        return "http://192.168.8.236/"
     }
     else{
         return "http://10.112.0.199/"