summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/app/desktop/tags/home-widgets/rss-reader.tag9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/web/app/desktop/tags/home-widgets/rss-reader.tag b/src/web/app/desktop/tags/home-widgets/rss-reader.tag
index 9a2b2fce1f..0964fc1415 100644
--- a/src/web/app/desktop/tags/home-widgets/rss-reader.tag
+++ b/src/web/app/desktop/tags/home-widgets/rss-reader.tag
@@ -78,7 +78,14 @@
});
this.fetch = () => {
- fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.url}`).then(res => {
+ const headers = new Headers();
+ headers.append('pragma', 'no-cache');
+ headers.append('cache-control', 'no-cache');
+
+ fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.url}`, {
+ method: 'GET',
+ headers
+ }).then(res => {
res.json().then(feed => {
this.update({
initializing: false,