const http = require('http')
"/customer": {
target: "http://10.10.111.192:8080/",
// target: "http://user.jinfu.baohan.com/",
changeOrigin: true, // 是否启用跨域
// 解决mac 代理超时问题
headers: {
Connection: "keep-alive"
},
// 解决mac 代理超时问题
agent: new http.Agent(),
// pathRewrite: {}
},
文章来源地址https://www.uudwc.com/A/9dENW/
文章来源:https://www.uudwc.com/A/9dENW/