|
@@ -88,12 +88,26 @@ module.exports = {
|
|
|
target: "http://106.120.102.238:18080/ImportDataDev", //WTL外网目标地址
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
+ "^/ETLapi": "", // 去掉 /WZLapi 前缀
|
|
|
+ },
|
|
|
+ onProxyReq(proxyReq, req, res) {
|
|
|
+ console.log("Proxying /sAlgorithm request to:", proxyReq.path); // 打印代理请求路径
|
|
|
+ },
|
|
|
+ },
|
|
|
+
|
|
|
+ // 文佳
|
|
|
+ "/WJapi": {
|
|
|
+ // target: "http://192.168.50.235:8888", // WZLapi 内网 目标地址
|
|
|
+ target: "http://106.120.102.238:18888", // WZLapi 内网 目标地址
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite: {
|
|
|
"^/WJapi": "", // 去掉 /WZLapi 前缀
|
|
|
},
|
|
|
onProxyReq(proxyReq, req, res) {
|
|
|
console.log("Proxying /sAlgorithm request to:", proxyReq.path); // 打印代理请求路径
|
|
|
},
|
|
|
},
|
|
|
+
|
|
|
// 数据转换亮亮
|
|
|
"/transDataWeb": {
|
|
|
// target: "http://192.168.50.241:9000/trans_data_web",//生产
|