react-refresh-webpack-plugin
react-refresh-webpack-plugin copied to clipboard
HMR gathering information from my URL and hitting my backend instead no dev server
Hello!
I have a backend for frontend running on port 3000. Is it possible to configure HMR in a way that it works correctly in those situations so that I don't get request errors when react refresh tries to gather information about refreshing my app?
I get this error because of the request hitting my express server:
The request URL is http://localhost:3000/ws/337/tt0fq4rk/jsonp?c=_jp.ant25bi and react refresh is one of the initiators of this request.
The response for this request is actually the main page my backend for frontend powered by express delivers.
Thank you!