enabling cors proxy

This commit is contained in:
Navan Chauhan 2020-12-01 20:17:05 +05:30
parent a75903bc07
commit 1e5c859ae8
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ async function myfunc(key){
document.getElementById("feed").appendChild(feed_div)
var parser = new RSSParser();
var countPosts = 0
parser.parseURL(feeds[key]["link"], function(err, feed) {
parser.parseURL(CORS_PROXY + feeds[key]["link"], function(err, feed) {
if (err) throw err;
feed.items.forEach(function(entry) {
if (countPosts < feeds[key]["limit"]) {