changes testing env

This commit is contained in:
Abhishek Test Tiwari 2026-04-23 17:52:24 +05:30
parent 48e7ba63cf
commit 44be33e92c

2
app.js
View File

@ -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" });