React application redirects all URLs to https and breaks my API

Hello,

My website www.cabalchronicles.com.

I’ve been working locally on the React → NodeJs connection and everything runs smoothly. After publishing i’ve noticed all api calls are being made to HTTPS instead of HTTP. I’m assuming this is something related to netlify and its automatic redirect to https ? Not sure what to do here.

@zenandreas Depending on what you’re doing you may be able to use a proxy to achieve this, see:

Here’s a thread where someone needed to post to an external api via http: