Error cant login when API are in webhosting

Hello when i run my app on browser on phone, it cant login to dashboard…this problem start when i host the API file to webhosting, but it working well when i host API in xampp

here my code on post_provider.ts