mirror of
https://github.com/yml2213/javascript.git
synced 2026-10-16 21:03:01 +08:00
修复重写错误
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user