This commit is contained in:
Abhishek Test Tiwari 2026-03-17 14:39:56 +05:30
parent d439989944
commit 1e69dfc0bd

2
app.js
View File

@ -5,7 +5,7 @@ const PORT = 8080;
const server = http.createServer((req, res) => { const server = http.createServer((req, res) => {
if (req.method === "GET" && req.url === "/") { if (req.method === "GET" && req.url === "/") {
res.writeHead(200, { "Content-Type": "text/plain" }); res.writeHead(200, { "Content-Type": "text/plain" });
res.end("7thhh updateee Hello World"); res.end("7thhh updateee Hello World testing");
} else { } else {
res.writeHead(404, { "Content-Type": "text/plain" }); res.writeHead(404, { "Content-Type": "text/plain" });
res.end("Not Found"); res.end("Not Found");