Skip to content

Commit

Permalink
fix: host ip
Browse files Browse the repository at this point in the history
  • Loading branch information
3ddyBoi committed Dec 21, 2023
1 parent 515256c commit b6108dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fastify.get('/health', async (_request, reply) => {

(async () => {
try {
await fastify.listen({ port: 3000 });
await fastify.listen({ host: '0.0.0.0', port: 3000 });
console.log(`server listening on ${3000}`);
} catch (err) {
fastify.log.error(err);
Expand Down

0 comments on commit b6108dd

Please sign in to comment.