修复重写错误

This commit is contained in:
yml2213
2022-06-12 21:43:50 +08:00
parent e6e2b75c8d
commit a6d42ee4f7
+1 -1
View File
@@ -99,7 +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;
ck = $request.headers.Cookie;
if (ckStr) {
if (ckStr.indexOf(ck) == -1) { // 找不到返回 -1
ckStr = ckStr + "@@" + ck;