Setupproxy.js Path Are Not Recognizing In Reactjs Application Using Http Proxy Middleware
I am implementing http proxy middleware in my react app , my setupProxy.js path's are not recognising . Below is my code please let me know if i am doing anything wrong. App compon
Solution 1:
With your code I can see that you have used create-react-app. You haven't shown your package.json. Did you add proxy to it? I think you might have missed it.
package.json
{
....
"proxy": "http://localhost:5000",
}
Post a Comment for "Setupproxy.js Path Are Not Recognizing In Reactjs Application Using Http Proxy Middleware"