mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] maybe another typo
This commit is contained in:
parent
08293f96bc
commit
64b4e07ffb
@ -164,7 +164,7 @@ HttpProxy.prototype.proxyRequest = function (req, res, buffer) {
|
||||
// Emit the `start` event indicating that we have begun the proxy operation.
|
||||
//
|
||||
this.emit('start', req, res, this.target);
|
||||
req.pipe(new ProxyStream(res, options)).pipe(res);
|
||||
req.pipe(new ProxyStream(res, this)).pipe(res);
|
||||
|
||||
//
|
||||
// If forwarding is enabled for this instance, foward proxy the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user