Description
Do you want to request a feature or report a bug?
Bug
What is the current behaviour?
Currently Webpack-Dev-Server will not necessarily use the correct port when making requests to the dev server. It will instead assume the port that the dev server is running upon.
This becomes a problem when used with items like Ngrok. Ngrok offers a way to create HTTP tunnels. You can make localhost:3000
accessible to the world via https://public.url
.
The issue is that, while all content can be correctly served and the site usable, Dev Server will attempt to communicate with https://public.url:<dev server port number>
. It needs to instead use the port number from the current address.
Probably a simple case of ensuring the plugin doesn't assume a port.
Not yet familiar enough with Prefresh to say whether it's an issue for this repo or its, so leaving this here while I investigate.
What is the expected behaviour?
That the request from the Dev Server goes to the correct address
Activity