Skip to content

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

@bhanufyi

Description

@bhanufyi
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions