From 5ad40d2e1dc417788083aeaff6168a0c9c464856 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 4 Jun 2024 11:23:18 +0200 Subject: [PATCH] Update index.ts --- docker-compose/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose/index.ts b/docker-compose/index.ts index f1a63f1..56dd79e 100644 --- a/docker-compose/index.ts +++ b/docker-compose/index.ts @@ -1,5 +1,5 @@ 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({ hostname: HOSTNAME, port: PORT, @@ -15,4 +15,4 @@ Bun.serve({ return new Response("404!"); }, }) -console.log(`Server running at http://${HOSTNAME}:${PORT}`); \ No newline at end of file +console.log(`Server running at http://${HOSTNAME}:${PORT}`);