summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/node_http_proxy.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/node_http_proxy.js b/tools/node_http_proxy.js
index 75dd5a371..58ba3f930 100644
--- a/tools/node_http_proxy.js
+++ b/tools/node_http_proxy.js
@@ -14,15 +14,9 @@ http
const proxy = http.request(options, proxyRes => {
res.writeHead(proxyRes.statusCode, proxyRes.headers);
- proxyRes.pipe(
- res,
- { end: true }
- );
+ proxyRes.pipe(res, { end: true });
});
- req.pipe(
- proxy,
- { end: true }
- );
+ req.pipe(proxy, { end: true });
})
.listen(port);