Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c7c80b

Browse files
committed
1 parent 0808e8b commit 9c7c80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Task/baidu_speed.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ function showmsg() {
566566
function GetCookie() {
567567
if ($request && $request.method != 'OPTIONS' && $request.url.match(/\/activity\/h5\/vault/)) {
568568
const CookieVal = $request.headers.Cookie
569-
const UA = $request.headers.User-Agent
569+
const UA = $request.headers['User-Agent']
570570
$.log(`CookieVal:${CookieVal}`)
571571
if (CookieVal) $.setdata(CookieVal, 'bdspeed');
572572
if (UA) $.setdata(UA, 'bd_Agent')

0 commit comments

Comments
 (0)