enabling cors proxy
This commit is contained in:
parent
a75903bc07
commit
1e5c859ae8
|
@ -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"]) {
|
||||
|
|
Loading…
Reference in New Issue