Skip to content

Commit

Permalink
eslint
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 d8ea5d4 commit c533a32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/libs/rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const _getRssContent = async function (rssUrl, suffix = true) {
body = cache;
} else {
let url = rssUrl;
let isPig = rssUrl.includes("https://piggo.me/");
const isPig = rssUrl.includes('https://piggo.me/');
if (suffix && !isPig) {
url += (rssUrl.indexOf('?') === -1 ? '?' : '&') + '____=' + Math.random();
}
Expand All @@ -38,8 +38,8 @@ const _getRssContent = async function (rssUrl, suffix = true) {
{
url,
headers: {
cookie: global.runningSite.PIGGO.cookie,
},
cookie: global.runningSite.PIGGO.cookie
}
},
true
);
Expand Down

0 comments on commit c533a32

Please sign in to comment.