webpack-plugin-serve icon indicating copy to clipboard operation
webpack-plugin-serve copied to clipboard

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

Open bhanufyi opened this issue 3 years ago • 0 comments

  • 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

bhanufyi avatar Jul 01 '22 15:07 bhanufyi