loading...
markdown guide
 

If you are using Webpack, check out dev server proxy. Note the changeOrigin property. You can create a minimal webpack project with just the dev server config and run it from terminal.

For CORS issues though, we don't do this. We use CORS in production (static assets on different subdomain from API), so it made sense to make it a config parameter and use it in dev too.

Classic DEV Post from Feb 9

What do you have to Google? Every. Single. Time.

How about you? Any other stories to make me feel better?

Omar White profile image
I work as a software engineer at Target on the website, mainly the cart and checkout experience. When not coding I like to make music and occasionally game.