google-news-rss
google-news-rss copied to clipboard
CORS on browser
Hey mate,
Are you sure this lib works with browsers? I'm getting some CORS errors in my req's.
@brobey8 Sorry mate, I assumed using a isomorphic fetch would have handled the browser side (wrongful assumption :( ). I believe just adding a no-cors mode within the fetch parameters, will solve this issue. Would you be comfortable testing this within your set-up, and PR-ing it by chance?
within index.js
const params = {
method: 'GET',
mode: 'no-cors'
};
same issue in localhost, any option for that?