-
Quick Tip: Fix Cordova Access-Control-Allow-Origin error
A real lifesaver for cordova and ionic developers when you encounter CORS errors in the browser preview – Goto yourapp/platforms/browser/cordova/node_modules/cordova-serve/src/browser.js and change the chromeArgs line, adding the “–disable-web-security” flag: