Hi, my React app on Netlify has issues connecting to an external API.
The app works fine on my development machine and is able to proxy to my API using the “proxy” property in the package.json.
But on production, I get 404 errors.
I suspect it might be my server setup. But I’m not familiar with deployment processes like proxying to API servers so will need a step-by-step guide on this.
Additional info
Site: https://proverbs-everyday-v2.netlify.app/
Errors:
Env Vars:
NODE_ENV: production
REACT_APP_API_APPS_URL: /api/misc/apps/
REACT_APP_API_BIBLE_URL: /api/bible/
_redirects:
/api/* https://davinas-cms.herokuapp.com/:splat 200