app.use(`/apiProxy`, proxy({ target: 'http://172.17.123.131:10241', // target: 'http://172.17.123.216:4000', changeOrigin: true, logLevel: 'debug', proxyReq: function (req) { console.log(req) }}));when i ajax get('/apiProxy/TaxRate/GetTaxRates') i want to refer to http://172.17.123.131:10241/TaxRate/GetTaxRatesnot http://172.17.123.131:10241/apiProxy/TaxRate/GetTaxRatesHow did i do this?
添加回答
举报
0/150
提交
取消