1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-24 07:06:22 +09:00

Revert "[Client] Fix bug"

This reverts commit 88566e2851.
This commit is contained in:
syuilo 2017-05-26 16:22:42 +09:00
parent 65524d84e6
commit 67b6ec3cb3

View File

@ -78,14 +78,7 @@
}); });
this.fetch = () => { this.fetch = () => {
const headers = new Headers(); fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.url}`).then(res => {
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 => { res.json().then(feed => {
this.update({ this.update({
initializing: false, initializing: false,