I’m working with Ionic 3, Laravel and Heroku.
On my local development enviroiment, the requests works very good, without CORS errors.
When I deploy my application to Heroku, I can’t make any requests.
I’m always receiving this following error:
Access to XMLHttpRequest at '<api domain>' from origin 'http://localhost:8100' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
My CORS configs are allowing all methods, headers and origins.
I’ve followed many issues on the Ionic Comunity, but couldn’t solve it yet.