diff --git a/app.js b/app.js index c533b74..3525f4c 100644 --- a/app.js +++ b/app.js @@ -8,7 +8,7 @@ const server = http.createServer((req, res) => { if (req.method === "GET" && parsedUrl.pathname === "/") { const key = parsedUrl.searchParams.get("key"); const response = key - ? { message: "added to the response", value: key } + ? { message: "added to the response", value: process.env.Test } : { message: "key query param not found" }; res.writeHead(200, { "Content-Type": "application/json" });