mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-22 23:51:23 +08:00
修复登录失败会崩溃的问题
This commit is contained in:
@@ -19,7 +19,7 @@ router.get("/", (req, res) => {
|
||||
"POST",
|
||||
data,
|
||||
cookie,
|
||||
(music_req, cookie) => {
|
||||
(music_req, cookie = []) => {
|
||||
const cookieStr =
|
||||
"appver=1.5.9;os=osx; channel=netease;osver=%E7%89%88%E6%9C%AC%2010.13.2%EF%BC%88%E7%89%88%E5%8F%B7%2017C88%EF%BC%89";
|
||||
cookieStr.split(";").forEach(item => {
|
||||
|
||||
Reference in New Issue
Block a user