Use cache with RSS (#2915)
This commit is contained in:
parent
100a525507
commit
1213373027
1 changed files with 0 additions and 1 deletions
|
@ -44,7 +44,6 @@ export default define({
|
||||||
},
|
},
|
||||||
fetch() {
|
fetch() {
|
||||||
fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.props.url}`, {
|
fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.props.url}`, {
|
||||||
cache: 'no-cache'
|
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
res.json().then(feed => {
|
res.json().then(feed => {
|
||||||
this.items = feed.items;
|
this.items = feed.items;
|
||||||
|
|
Loading…
Reference in a new issue