setupProxy.js does not work inside React App

Hey @Nhat_Nguyen,

Your webpack config has a webpack dev server, but the FDK uses the webpack-dev-middleware Development | webpack , unfortunately, the only left option is to set up a manual proxy, an express app using the http-proxy-middleware and manually pipe the request
or
you could also use chrome extensions Allow CORS: Access-Control-Allow-Origin - Chrome Web Store to disable CORS during development process

Stay Safe :slight_smile:

1 Like