zhaoke 1 년 전
부모
커밋
3fa9839c63
1개의 변경된 파일14개의 추가작업 그리고 13개의 파일을 삭제
  1. 14 13
      public/baseConfig.js

+ 14 - 13
public/baseConfig.js

@@ -8,25 +8,26 @@ const PLATFROM_CONFIG = {
   baggageMessageURL: '/openApi/query',
 }
 const baseNewUrl = window.location.hostname
-switch (baseNewUrl) {
+switch (baseNewUrl ){
   case "10.81.160.49":
-    PLATFROM_CONFIG.baseNewUrl = "http://10.81.160.49:8095/"
-    break;
+  PLATFROM_CONFIG.baseNewUrl = "http://10.81.160.49:8095/"
+  break;
   case "172.29.13.5":
-    PLATFROM_CONFIG.baseNewUrl = "http://172.29.13.5:8095/"
-    break;
+  PLATFROM_CONFIG.baseNewUrl = "http://172.29.13.5:8095/"
+  break;
   case "10.83.36.15":
-    PLATFROM_CONFIG.baseNewUrl = "http://10.83.36.15:8095/"
-    break;
+  PLATFROM_CONFIG.baseNewUrl = "http://10.83.36.15:8095/"
+  break;
   case "10.81.40.201":
   case "10.81.40.202":
-  case "172.23.61.29":
-    PLATFROM_CONFIG.baseNewUrl = "http://10.81.40.201:8095/"
-    break;
+  case "10.81.40.226":
+  PLATFROM_CONFIG.baseNewUrl = "http://10.81.40.201:8095/"
+  break;
   case "120.26.64.82":
   case "localhost":
-    PLATFROM_CONFIG.baseNewUrl = "http://120.26.64.82:8084/"
-    break;
+  PLATFROM_CONFIG.baseNewUrl = "http://120.26.64.82:8083/"
+  break;
+  case "172.23.61.29":
   default:
-    PLATFROM_CONFIG.baseNewUrl = "http://172.23.61.1:8095/"
+  PLATFROM_CONFIG.baseNewUrl = "http://172.23.61.1:8095/"
 }