StephenGrider / FullstackReactCode

Companion repo to https://www.udemy.com/node-with-react-fullstack-web-development
1.39k stars 1.17k forks source link

Fix for proxy issue in "Routing Stumbling Block" #67

Open devByGelu opened 4 years ago

devByGelu commented 4 years ago

1st cd client npm install http-proxy-middleware --save 2nd

fffjacquier commented 3 years ago

in order for this to work (april 2021), you should change the first line to: const createProxyMiddleware = require('http-proxy-middleware')