Skip to content

Commit

Permalink
fix: listen on all ipv4 hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsadhu committed Mar 21, 2023
1 parent a81c98a commit 9ddee80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export async function start({ config, cwd = process.cwd() }) {
}

try {
await app.listen({ port: config.get("app.port") });
await app.listen({ host: "0.0.0.0", port: config.get("app.port") });
} catch (err) {
console.log(err);
}
Expand Down

0 comments on commit 9ddee80

Please sign in to comment.