devServer: {
host: "localhost",
port: 10086,
proxy: [
{
context: ['/api', '/upload','/coach'],
target: "http://192.168.101.110:3721",//域名
pathRewrite: {
"^/api": "/api",
"^/coach": "/coach",
"^/upload": "/upload"
},
changeOrigin: true,
secure: false,
},
],
}