This commit is contained in:
Abhishek Test Tiwari 2026-03-17 14:38:36 +05:30
parent 486b50bf87
commit d439989944
2 changed files with 8 additions and 8 deletions

12
app.js
View File

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

View File

@ -1,11 +1,11 @@
app: "anujbugtest"
app: "helloworldpage"
serverlessId: "ce200692-ad45-4edd-b63b-f052f7ce51bb"
region: "asia-south1"
handler: "handler.handler"
language: "nodejs/20"
serverlessConfig:
Name: "anujbugtest"
Name: "helloworldpage"
Description: ""
Runtime: "git"
# Environment variables for your serverless function