diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2024-09-05 14:13:06 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 14:13:06 +0900 |
commit | e799c2857c81f7656811aaf6a248432fe88e8169 (patch) | |
tree | 98d91c90b9020251b71e4d12dc2bf8618e02599c /cli/tsc | |
parent | 186f7484da3116aeda474f7f529d417ee542b450 (diff) |
fix(ext/http): do not set localhost to hostname unnecessarily (#24777)
This commit changes when to cause the hostname substition of `0.0.0.0` ->
`localhost`.
Currently we substitute `localhost` to the hostname on windows before
calling `options.onListen`, which prevents the users to do more advanced
thing using hostname string like
https://github.com/denoland/std/issues/5558. This PR changes it not to
substitute it when the user provide `onListen` callback.
closes #24776
unblocks https://github.com/denoland/std/issues/5558
Diffstat (limited to 'cli/tsc')
0 files changed, 0 insertions, 0 deletions