Hello,
I am using ionic to create a web app that works with a PHP API. Proxies are set in my ionic.config.json and work great when testing my app with ionic search. The problem is that when i’m trying to set it to production on an apache server (building with ionic cordova build browser --prod --release), it looks like the proxies are not working anymore.
this is the error I get:
Failed to load resource: the server responded with a status of 404 (Not Found) /api/auth/check.php
Does the proxy works on browser builds ? Is there an other way to deal with CORS issues in browser build ?
edit :
It doesn’t work with ionic cordova run either