From 905ee58fc1843eb389e821d10402dac9b6f83469 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Sat, 26 Oct 2024 22:16:20 -0400 Subject: [PATCH] Add the port in the running log. --- chat-app/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chat-app/src/index.ts b/chat-app/src/index.ts index e9c4701..e1a6a02 100644 --- a/chat-app/src/index.ts +++ b/chat-app/src/index.ts @@ -59,8 +59,8 @@ app.use("/*", serveStatic({ root: "/static" })); Bun.serve({ fetch: app.fetch, - port: parseInt(process.env.APP_PORT as string) || 3000, + port: parseInt(process.env.APP_PORT as string), websocket }); -console.log(`Chat is running`); +console.log(`Chat is running on ${APP_PORT}`);