修复重写错误

This commit is contained in:
yml2213
2022-06-12 21:40:05 +08:00
parent c5b0397658
commit e6e2b75c8d
+1 -2
View File
@@ -99,8 +99,7 @@ async function start() {
// https://act.you.163.com/act-attendance/task/list
async function GetRewrite() {
if ($request.url.indexOf("act-attendance/task/list") > -1) {
const ck = $request.headers.cookie;
console.log(ck);
const ck = $request.headers.Cookie;
if (ckStr) {
if (ckStr.indexOf(ck) == -1) { // 找不到返回 -1
ckStr = ckStr + "@@" + ck;