zhaoke 1 year ago
parent
commit
75b6af39a2
1 changed files with 12 additions and 12 deletions
  1. 12 12
      public/baseConfig.js

+ 12 - 12
public/baseConfig.js

@@ -8,26 +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 "10.81.40.226":
-  PLATFROM_CONFIG.baseNewUrl = "http://10.81.40.201:8095/"
-  break;
+    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:8083/"
-  break;
+    PLATFROM_CONFIG.baseNewUrl = "http://120.26.64.82:8084/"
+    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/"
 }