diff options
Diffstat (limited to '')
-rwxr-xr-x | test/node/mirror/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/mirror/app.js b/test/node/mirror/app.js index abcb87cb..1488917e 100755 --- a/test/node/mirror/app.js +++ b/test/node/mirror/app.js @@ -6,7 +6,7 @@ require('unit-http').createServer(function (req, res) { body += chunk.toString(); }); req.on('end', () => { - res.writeHead(200, {'Content-Length': Buffer.byteLength(body)}); - res.end(body); + res.writeHead(200, {'Content-Length': Buffer.byteLength(body)}) + .end(body); }); }).listen(7080); |