react-refresh-webpack-plugin icon indicating copy to clipboard operation
react-refresh-webpack-plugin copied to clipboard

HMR gathering information from my URL and hitting my backend instead no dev server

Open juniorgarcia opened this issue 2 years ago • 0 comments

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: image

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!

juniorgarcia avatar Feb 17 '23 21:02 juniorgarcia