Skip to content

Commit

Permalink
fix-fastify-listen-args (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorgomezv authored Sep 11, 2023
1 parent d9c5b6c commit e313f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/infrastructure/web-server/web-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const init = async (port = Number(PORT)) => {
try {
await mountRouters(app);
logger.info(`Listening on ${port}`);
return app.listen({ port, address: '0.0.0.0' });
return app.listen({ port, host: '0.0.0.0' });
} catch (err) {
logger.error(err);
return process.exit(1);
Expand Down

0 comments on commit e313f2c

Please sign in to comment.