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(launchServer): return precise wsAddress #31026

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented May 27, 2024

Follow-up to #30999 following a similar pattern like in #30853.

Copy link
Contributor

Test results for "tests 1"

27063 passed, 609 skipped
✔️✔️✔️

Merge workflow run.

resolve(`${address}${path}`);
return;
}
const resolvedHost = address.family === 'IPv4' ? address.address : `[${address.address}]`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Shouldn't this be hostname when it is defined?
  • I am afraid this could accidentally break someone expecting localhost in the address and getting 127.0.0.1 or [::1] instead. Should we wait for a bug report?

@mxschmitt mxschmitt closed this May 30, 2024
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.

2 participants