Explorar o código

下拉框路径调整

zouzhd %!s(int64=3) %!d(string=hai) anos
pai
achega
5439852407
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      config/index.js

+ 7 - 0
config/index.js

@@ -60,6 +60,13 @@ let proxyTable = {
       "^/api/v1": "/api/v1"
     }
   },
+  "/views/api/v1": {
+    target: "http://172.16.33.166:8080",
+    ws: true,
+    pathRewrite: {
+      "^/views/api/v1": "/api/v1"
+    }
+  },
   '/icore.icp.web/pass/logout': {
     target: 'http://172.16.33.161:9001/logout',
     changeOrigin: true,