diff --git a/components/requestForwarder/index.js b/components/requestForwarder/index.js index 718012e..7006830 100644 --- a/components/requestForwarder/index.js +++ b/components/requestForwarder/index.js @@ -27,7 +27,7 @@ module.exports = function(server){ res.end(); } response.on("data", res.write); - res.on('end', res.end); + response.on('end', res.end); }); request.on("error", (err)=>{