How to get external data without CORS headers with Firebase hosted webapp?
I have my Ionic2 app hosted on Firebase. What I need is to get external data from an API service where No 'Access-Control-Allow-Origin' header is present on the requested resource I can work around it locally by using proxies in ionic.config.json file: "proxies": [ { "path":"/api", "proxyUrl": "https://api.somwhere.com/" } ] But I have no idea how to deal with this after deploying my app to Firebase. Is it somehow possible? The Firebase docs have an example of setting the Access-Control-Allow-Origin in your firebase.json to allow cross-origin requests for font files. You could adjust that like