mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
Update index.ts
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
const PORT = process.env.PORT || 3000;
|
const PORT = process.env.PORT || 3000;
|
||||||
const HOSTNAME = process.env.HOSTNAME || "0.0.0.0"
|
const HOSTNAME = process.env.HOST || "0.0.0.0"
|
||||||
Bun.serve({
|
Bun.serve({
|
||||||
hostname: HOSTNAME,
|
hostname: HOSTNAME,
|
||||||
port: PORT,
|
port: PORT,
|
||||||
@@ -15,4 +15,4 @@ Bun.serve({
|
|||||||
return new Response("404!");
|
return new Response("404!");
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
console.log(`Server running at http://${HOSTNAME}:${PORT}`);
|
console.log(`Server running at http://${HOSTNAME}:${PORT}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user