Axios API calls not working on iOS

I have built a vue and capacitor app using axios for http requests. On Web and android the app can make get and post requests fine but not on iOS, they just seem to fail or be cancelled with no error returned. Has anyone experienced this before?

For iOS you need to configure your server to allow CORS from capacitor://localhost