|
@@ -81,17 +81,16 @@ module.exports = {
|
|
|
"^/WZLapi": "", // 去掉 /WZLapi 前缀
|
|
|
},
|
|
|
},
|
|
|
- // 文佳
|
|
|
- "/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); // 打印代理请求路径
|
|
|
- },
|
|
|
+ // 文佳
|
|
|
+ "/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": {
|
|
@@ -101,7 +100,6 @@ module.exports = {
|
|
|
"^/transDataWeb": "", // 去掉 /transDataWeb 前缀
|
|
|
},
|
|
|
},
|
|
|
-
|
|
|
//自定义算法
|
|
|
"/sAlgorithm": {
|
|
|
target: "http://192.168.5.28:8666", // 目标地址
|