This commit is contained in:
2024 2024-07-19 14:38:21 +08:00
parent ae177c904e
commit 76b55d377e
1 changed files with 2 additions and 2 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(j)); CookieJDs = CookieJDs.filter(x => !x.includes(encodeURIComponent(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(i)); CookieJDs = CookieJDs.filter(x => !x.includes(encodeURIComponent(i)));
} }
} }
} catch { } } catch { }