Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use options.hostname for listening #19

Merged
merged 1 commit into from Apr 12, 2022
Merged

Conversation

Louis-Tian
Copy link
Contributor

ListenOptions does not have a host property. Therefore the server is host is always undefined. Typescript doesn't pick it up due to the @ts-ignore flag.

ListenOptions does not have a `host` property. Therefore the server is host is always undefined. Typescript doesn't pick it up due to the @ts-ignore flag.
@pi0 pi0 changed the title Update index.ts fix: use options.hostname for listening Apr 12, 2022
@pi0 pi0 merged commit 10164d5 into unjs:main Apr 12, 2022
@pi0
Copy link
Member

pi0 commented Apr 12, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants