mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-02-03 21:30:20 -07:00
Revert "[Client] Fix bug"
This reverts commit 88566e28512bbfecc9b36dc12f7ad57a3fe799b5.
This commit is contained in:
parent
9229ab9bfa
commit
552a7cee5e
1 changed files with 1 additions and 8 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue