Site making AJAX calls to itself even with a proxy

I deployed my site earlier and every AJAX call that’s made is done to itself and not the actual API that’s being called in the local environment. Upon further research it sounded like I might need a proxy (though now that I think about it, I’m pretty sure its not needed) but implementing it didn’t change anything. If it helps I’m using Axios and I have my netlify.toml file in the root directory pointing to the sub folder that gets built. Honestly not sure why this is happening because I’ve never had this issue before until now. What are the potential issues that could be causing this?

Thank you in advance for any help you can provide.

Hey @tgreul,
Is this happening for you when you test locally or only when you deploy to Netlify? And can you please share your Netlify url and repo if it’s public? The more we have to go on, the better able we are to troubleshoot :slight_smile: