sysgears/spinjs

adding webpack-dev-server configuration for public url

Opened this issue · 0 comments

We trying to test by placing public Client URL so that we would able to get the development page on a public URL instead of default localhost.
Based on the following configuration:

https://github.com/webpack/webpack-dev-server/blob/3c1ff11c1ce4ec8d990ca0b9dc1460cd906f986f/examples/cli/public-protocol/webpack.config.js#L12

I have tried by entering these value here

  devServer: {
    host: '0.0.0.0',
    public: 'https://testwebsite.xxxxx.com',
    disableHostCheck: true
  }

...config.devServer,

We able to open the url, but we see the socket still trying to connect localhost.
image

image

Even tried setting the browser url here, but no luck.

target: proxyUrl,