express-http-proxy使用方法
th as string */ ) }); }}));filter
filter选项主要用于筛选哪些请求可以被代理转发,例如,你只想转发get请求
app.use('/proxy', proxy('www.google.com', { filter: function(req, res) { return req.method == 'GET'; }, forwardPath: function(req, res) { return require('url').parse(req.url).path; }}));intercept
intercept选项用于在