zalmoxisus / crossbuilder

Building web, Electron, Cordova and Chrome apps, and cross-browser extensions with React, Redux and Webpack. "Write once, deploy everywhere" concept in practice.
MIT License
484 stars 50 forks source link

Any idea how to resolve CORS error when fetching RSS feed? #40

Open evivz opened 8 years ago

evivz commented 8 years ago

Hello,

When I fetch RSS feed (feedburner) it works fine in via browser but when I do via extension same code gives cross error.

In angular they do this way: http://jsfiddle.net/mahbub/b8Wcz/

How to do same way in react using this boiler plate?

zalmoxisus commented 8 years ago

You should add all urls to the manifest like:

"permissions": [
    "*://*.feedburner.com/*"
],