Update home page response message

This commit is contained in:
Andras Bacsai
2025-09-25 12:24:50 +02:00
committed by GitHub
parent e05bf5758c
commit 9b60a30b46

View File

@@ -5,7 +5,7 @@ Bun.serve({
port: PORT, port: PORT,
fetch(req) { fetch(req) {
const url = new URL(req.url); const url = new URL(req.url);
if (url.pathname === "/") return new Response("Home page!"); if (url.pathname === "/") return new Response("Home page hello!");
if (url.pathname === "/envs") { if (url.pathname === "/envs") {
return new Response(JSON.stringify(process.env, null, 2), { return new Response(JSON.stringify(process.env, null, 2), {
headers: { "content-type": "application/json" }, headers: { "content-type": "application/json" },