浏览代码

下拉框路径调整

zouzhd 3 年之前
父节点
当前提交
5439852407
共有 1 个文件被更改,包括 7 次插入0 次删除
  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,