I have just finished an application with Ionic. I submit it to the Apple Store. After a check, the Apple team refused me the application because they can’t connect to the application. The problem it runs into is “TypeError: Load Failed”. After many attemps, I finally managed to reproduce the error by using a VPN. So I suspect that my API CORS is not letting the VPN through. About the project :
fetch(`${this.api}users/login`, {
method: 'post',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
email: user.email,
password: user.password
})
})
Thank you for your help, I feel desperate