From 1e5c859ae865928a48fe713538cfe368a2b25873 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 1 Dec 2020 20:17:05 +0530 Subject: [PATCH] enabling cors proxy --- real-time/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/real-time/index.html b/real-time/index.html index d6b26b3..d6938a2 100644 --- a/real-time/index.html +++ b/real-time/index.html @@ -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"]) {