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}`);