wenhongquan 8 лет назад
Родитель
Сommit
e2e50f83b3
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      VisualInspection/js/config.js

+ 6 - 2
VisualInspection/js/config.js

@@ -31,7 +31,9 @@ function getImageaddr() {
     } else if (base_ui_url.indexOf("localhost") != -1) {
         return "http://10.112.0.199:7000/"
             // return "http://localhost:9080/"
-    } else {
+    } else if (base_ui_url.indexOf("192.168.8.236") != -1) {
+        return "http://192.168.8.236/"
+    }else {
         return "http://10.112.0.199/"
     }
 }
@@ -42,7 +44,9 @@ function getTaskaddr() {
     } else if (base_ui_url.indexOf("localhost") != -1) {
         return "http://10.112.0.199:8099/"
         // return "http://localhost:8099/"
-    } else {
+    } else if (base_ui_url.indexOf("192.168.8.236") != -1) {
+        return "http://192.168.8.236:8099/"
+    }else {
         return "http://10.112.0.199:8099/"
     }
 }