mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05: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…
Add table
Reference in a new issue