DEV Community

Discussion on: Make a request between frontend and backend locally running on different ports without CORS issue

Collapse
 
jleblanc profile image
Josh LeBlanc

If you're already using webpack, you can proxy your API requests right in the config.

webpack.js.org/configuration/dev-s...