Skip to content

Commit

Permalink
Merge pull request #1 from azukaar/master
Browse files Browse the repository at this point in the history
Update index.ts to allow inbound 0.0.0.0
  • Loading branch information
JSH32 authored Sep 17, 2022
2 parents 77c7623 + 0b87dae commit 7c2df54
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 @@ -59,7 +59,7 @@ fastify.register(async (fastify) => {
});
});

fastify.listen({ port: parseInt(process.env.PORT, 10) }, err => {
fastify.listen({ host: '0.0.0.0', port: parseInt(process.env.PORT, 10) }, err => {
if (err) {
console.error(err);
process.exit(1);
Expand Down

0 comments on commit 7c2df54

Please sign in to comment.