We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ddf529 commit 30a3630Copy full SHA for 30a3630
tieba/tieba.cookie.js
@@ -1,7 +1,7 @@
1
const cookieName = '百度贴吧'
2
const cookieKey = 'chavy_cookie_tieba'
3
const chavy = init()
4
-const cookieVal = $request.headers['Cookie']
+const cookieVal = $request.headers['Cookie'] || $request.headers['cookie']
5
6
if (cookieVal.indexOf('BDUSS') > 0) {
7
let cookie = chavy.setdata(cookieVal, cookieKey)
0 commit comments