From c7f6f59923ecb27718495e9a716b3ed296627d51 Mon Sep 17 00:00:00 2001 From: sweatshirt0 Date: Mon, 20 Feb 2023 16:31:55 -0500 Subject: [PATCH] end about res. --- server.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.js b/server.js index 2b5c8bc..9b8dc16 100644 --- a/server.js +++ b/server.js @@ -44,6 +44,8 @@ const server = http.createServer((req, res) => { } else { res.write(data); } + + res.end(); }); }