mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-03 14:02:08 +08:00
解决 网易云 set-cookie 中 设置 Domain=.music.163.com 本地cookie无效问题
This commit is contained in:
parent
67bc5f240f
commit
2f573e0437
@ -21,6 +21,7 @@ router.get('/', (req, res) => {
|
|||||||
cookie,
|
cookie,
|
||||||
(music_req, cookie) => {
|
(music_req, cookie) => {
|
||||||
// console.log(music_req)
|
// console.log(music_req)
|
||||||
|
cookie = cookie.map(x => x.replace("Domain=.music.163.com", ""))
|
||||||
res.set({
|
res.set({
|
||||||
'Set-Cookie': cookie
|
'Set-Cookie': cookie
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user