This commit is contained in:
2024 2024-08-02 06:58:04 +08:00
parent 2fc530aaea
commit 5d0819cfea
2 changed files with 2 additions and 14 deletions

View File

@ -44,7 +44,7 @@ if (process.env.BANPIN) {
let pinarr = i.split('@')[1].split(','); let pinarr = i.split('@')[1].split(',');
console.log(`已配置该任务不执行pin: ${JSON.stringify(pinarr)}`); console.log(`已配置该任务不执行pin: ${JSON.stringify(pinarr)}`);
for (let j of pinarr) { for (let j of pinarr) {
CookieJDs = CookieJDs.filter(x => !x.includes(encodeURIComponent(j))); CookieJDs = CookieJDs.filter(x => !x.includes(decodeURIComponent(j)));
} }
} }
@ -54,7 +54,7 @@ if (process.env.BANPIN) {
let pinarr = banpin.split(','); let pinarr = banpin.split(',');
console.log(`已配置全局不执行pin: ${JSON.stringify(pinarr)}`); console.log(`已配置全局不执行pin: ${JSON.stringify(pinarr)}`);
for (let i of pinarr) { for (let i of pinarr) {
CookieJDs = CookieJDs.filter(x => !x.includes(encodeURIComponent(i))); CookieJDs = CookieJDs.filter(x => !x.includes(decodeURIComponent(i)));
} }
} }
} catch { } } catch { }

File diff suppressed because one or more lines are too long