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

host in log info getting set to 127.0.0.1 when host set to domain( that is proxied to 127.0.0.1) other than localhost #239

Open
bhanufyi opened this issue Jul 1, 2022 · 0 comments

Comments

@bhanufyi
Copy link

bhanufyi commented Jul 1, 2022

  • Webpack Version:
  • Operating System (or Browser):
  • Node Version:
  • webpack-plugin-serve Version:

How Do We Reproduce?

  1. clone the repo and install dependencies
  2. https://github.com/shellscape/webpack-plugin-serve/blob/master/test/fixtures/simple/webpack.config.js#L21, here change host to any domain( local.example.com) that is proxied to 127.0.0.1
  3. run npm run dev

Expected Behavior

log should be ⬡ wps: Server Listening on: http://local.example.com:port

Actual Behavior

log is ⬡ wps: Server Listening on: http://127.0.0.1:port

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

No branches or pull requests

1 participant