webpack proxy not working code example
Example: webpack react proxy not working
//add this config in WebpackDevServer
proxy: {
'/api': {
target: 'http://localhost:4000',
changeOrigin: true,
},
},
//add this config in WebpackDevServer
proxy: {
'/api': {
target: 'http://localhost:4000',
changeOrigin: true,
},
},