提交 4de17bca 编写于 作者: N Nick Uraltsev

Fix request path for proxied requests

上级 775ca3e7
......@@ -66,7 +66,7 @@ module.exports = function httpAdapter(resolve, reject, config) {
if (config.proxy) {
options.host = config.proxy.host;
options.port = config.proxy.port;
options.path = parsed.protocol + '//' + parsed.hostname + buildUrl(parsed.path, config.params).replace(/^\?/, '')
options.path = parsed.protocol + '//' + parsed.hostname + options.path;
}
// Create the request
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册