Skip to content

Commit

Permalink
adding cookie is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang925 authored and vertex-app committed Jul 18, 2024
1 parent c533a32 commit c85f83c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/libs/rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ const _getRssContent = async function (rssUrl, suffix = true) {
cookie: global.runningSite.SoulVoice.cookie
}
}, true);
} else if (isPig && global.runningSite.PIGGO) {
res = await util.requestPromise(
{
url,
headers: {
cookie: global.runningSite.PIGGO.cookie
}
},
true
);
} else {
res = await util.requestPromise(url, true);
}
Expand Down

0 comments on commit c85f83c

Please sign in to comment.