Skip to content

Commit

Permalink
expose server to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Oct 5, 2023
1 parent 03763ce commit b242380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fastify.post(
try {
await fastify.ready();
fastify.swagger();
await fastify.listen({ port: fastify.config.PORT, bind: "0.0.0.0" });
await fastify.listen({ port: fastify.config.PORT, host: "0.0.0.0" });
} catch (err) {
// Log error and exit process if server fails to start
fastify.log.error(err);
Expand Down

0 comments on commit b242380

Please sign in to comment.