Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtnd authored Nov 29, 2024
1 parent 9c0f37b commit 259629f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const start = async () => {
server.get("/healthcheck", (_, reply) => {
return reply.send("OK");
});


const port = process.env.PORT ? parseInt(process.env.PORT) : 3000;
await server.listen({ port, host: "0.0.0.0" });
Expand Down

0 comments on commit 259629f

Please sign in to comment.