Mine react apps fetch requests work fine when I test in dev
environment (npm start
) but after creating a build package (npm run build
) and then running that, all my fetch requests receive a failed status when making requests to my locally hosted API. Could this be because my API is not https
? Any other ideas?
Thanks
ngrok
?fetch
along with a screenshot of the Developer tools' Network tab, with thefetch
selected.