Use cache with RSS (#2915)

This commit is contained in:
MeiMei 2018-10-16 12:24:54 +09:00 committed by syuilo
parent 100a525507
commit 1213373027

View file

@ -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;