diff --git a/server.js b/server.js index e7703d0..89094ba 100644 --- a/server.js +++ b/server.js @@ -19,7 +19,10 @@ router.get("/info",function(req,res){ color: color, podName: process.env["HOSTNAME"], }; - res.type('application/json').send(JSON.stringify(response)); + res.type('application/json') + .set("Connection", "close") + .send(JSON.stringify(response)) + .end(); });