【update】-增加WP29和ISO等配置项

This commit is contained in:
fengchenchen
2022-12-06 18:03:07 +08:00
parent ff423f62a2
commit cfb6090ea7
+18 -6
View File
@@ -90,16 +90,28 @@ module.exports = {
// ''
target: 'http://localhost:8080', //请求本地 jero-boot后台项目
ws: false,
changeOrigin: true,
changeOrigin: true
},
// 请求大屏客户环境
'/zxd':{
target: 'http://www.catarc.org.cn:8088',
// 请求WP29客户环境
"/WPApi": {
target: "http://localhost:8080",
changeOrigin: true,
ws: false,
pathRewrite: {
"^/WPApi": "/jeecg-boot" // 请求WP29项目的后端并重写前缀
}
},
"/ISO": {
target: "http://localhost:8081",
ws: false,
changeOrigin: true,
pathRewrite: {
"^/ISO": "/jeecg-boot" // 请求WP29项目的后端并重写前缀
}
}
},
}
},
lintOnSave: true,
lintOnSave: true
}