mirror of
https://github.com/denoland/deno
synced 2024-10-30 02:21:11 +00:00
default to 0.0.0.0 for Deno.listen (#5203)
This commit is contained in:
parent
3d7552af2e
commit
9c01403865
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue