mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-19 05:48:58 +00:00
Update home page response message
This commit is contained in:
@@ -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" },
|
||||||
|
|||||||
Reference in New Issue
Block a user