Ionic 2 has deprecated ionic.config.js. ionic.project is now ionic.config.json, and I must now set my settings there. So, following the instructions for ionic proxies for ionic (I canβt find an ionic document 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 that does not work.
UPDATE: I seem to get a proxy service, but I still get CORS errors.
source share