I am working on an ionic app where the app calls api for authentication.
I have successfully setup the proxy in ionic as i was getting CORS error in the api call.
Now when i try to build the project in either browser or android app, the actual URL that was setup in proxy settings was not being taken and instead the localhost URL is being called.
URL in ionic serve:
URL after build:
I know i am missing something, but i got no idea in removing proxy settings as i a a newbie.
Please help me out.