Skip to content

Commit

Permalink
default to 0.0.0.0 for Deno.listen (denoland#5203)
Browse files Browse the repository at this point in the history
  • Loading branch information
itspa1 committed May 13, 2020
1 parent 3d7552a commit 9c01403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/js/net.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function listen(
export function listen(options: ListenOptions): Listener {
const res = netOps.listen({
transport: "tcp",
hostname: "127.0.0.1",
hostname: "0.0.0.0",
...(options as ListenOptions),
});

Expand Down

0 comments on commit 9c01403

Please sign in to comment.