From af943142b4fa2f8e0df084254ed5cbb91f76518f Mon Sep 17 00:00:00 2001 From: yeonseong-lee <62806979+YeonSeong-Lee@users.noreply.github.com> Date: Mon, 27 Sep 2021 00:10:23 +0900 Subject: [PATCH] Update index.js --- server/index.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/server/index.js b/server/index.js index c72c626..6cedc07 100644 --- a/server/index.js +++ b/server/index.js @@ -55,16 +55,6 @@ if (process.env.NODE_ENV === "production") { }); } -app.get("/", (req, res) => { - res.send("hello"); -}); - -//aws load balabcer health checker -app.get("/healthCheck", function (req, res) { - res.writeHead(200, { "Content-Type": "text/html" }); - res.write("Health Check Page"); - res.end(); -}); const PORT = process.env.PORT || 443;