Ionic 2 has deprecated ionic.config.js. ionic.project is now ionic.config.json, and I'm supposed to put my settings in there now. So, following the instructions for ionic proxies for ionic (can't find ionic2 doc for this anywhere), my ionic.config.json now looks like this:
{
"name": "newapp",
"app_id": "",
"v2": true,
"typescript": true,
"proxies": [{
"path": "/api",
"proxyUrl": "https://api.service.com"
}]
}
But, this doesn't appear to work.
UPDATE: I seem to be getting the proxied service, but I am still getting CORS errors.