Hi I have an angular app that I've written that gets all the data from the server by reaching the /api url.
For example:
https://localhost:4200/api/families
When developing in Angular I was able to map the /api path to the actual server (in my case localhost:3000/api) - I do that using proxy settings in the angular.json file
When deploying it to the web I use one server, that serves the static pages from the root, and the /api returns the api data.
This works great, doesn't require CORS and is generally pretty cool.
But now I want to deploy my app as a native app using cordova and I can't find the configuration to ask cordova to forward all requests to /api to another url.
There are similar settings, with Angular cli, react, and even vue.
In angular, it's called proxying to a backend server