jokyone commited on
Commit
7b059bf
·
verified ·
1 Parent(s): 0989a67

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -55,7 +55,7 @@ let keepKeys = ["_U",
55
  '_RwBf',
56
  'SRCHHPGUSR'];
57
  // 从请求头中获取 Cookie-Values 字段的值
58
- let cookieValues = request.headers.get("Cookie-Values");
59
  // 调用函数,传入 Cookie-Values 和要保留的键的数组,得到新的 Cookie-Values 值
60
  let setValue = filterCookieValues(cookieValues, keepKeys);
61
 
 
55
  '_RwBf',
56
  'SRCHHPGUSR'];
57
  // 从请求头中获取 Cookie-Values 字段的值
58
+ let cookieValues = req.header('Cookie-Values');
59
  // 调用函数,传入 Cookie-Values 和要保留的键的数组,得到新的 Cookie-Values 值
60
  let setValue = filterCookieValues(cookieValues, keepKeys);
61