|
@@ -64,9 +64,9 @@ module.exports = {
|
|
|
proxy: {
|
|
|
"/api": {
|
|
|
// target: "http://192.168.5.4:16200", // 石月
|
|
|
- target: "http://192.168.50.235:16200", // 内网
|
|
|
+ // target: "http://192.168.50.235:16200", // 内网
|
|
|
// target: "http://192.168.5.15:16200",
|
|
|
- // target: "http://106.120.102.238:16700", // 外网 16600 16700
|
|
|
+ target: "http://106.120.102.238:16700", // 外网 16600 16700
|
|
|
// target: "http://10.96.137.5",
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
@@ -75,8 +75,8 @@ module.exports = {
|
|
|
},
|
|
|
// 未知量 //振动、激光测距仪
|
|
|
"/WZLapi": {
|
|
|
- target: "http://192.168.50.241:9001", // WZLapi 目标地址
|
|
|
- // target: "http://106.120.102.238:18080/WindTransDev", // WZLapi 外网目标地址
|
|
|
+ // target: "http://192.168.50.241:9001", // WZLapi 目标地址
|
|
|
+ target: "http://106.120.102.238:18080/WindTransDev", // WZLapi 外网目标地址
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/WZLapi": "", // 去掉 /WZLapi 前缀
|
|
@@ -105,7 +105,8 @@ module.exports = {
|
|
|
},
|
|
|
//自定义算法文佳
|
|
|
"/sAlgorithm": {
|
|
|
- target: "http://192.168.50.235:8666", // 目标地址
|
|
|
+ // target: "http://192.168.50.235:8666", // 目标地址
|
|
|
+ target: "http://106.120.102.238:58880",
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/sAlgorithm": "", // 如果后端需要 `/api` 前缀
|
|
@@ -113,7 +114,8 @@ module.exports = {
|
|
|
},
|
|
|
//nodejs 数据库数据
|
|
|
"/databaseApi": {
|
|
|
- target: "http://192.168.50.234:3000",
|
|
|
+ // target: "http://192.168.50.234:3000",
|
|
|
+ target: "http://106.120.102.238:58880",
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/databaseApi": "", // 去掉 /databaseApi 前缀
|