From 2f573e04376dd6f5695130a15fc0a04e2e08182e Mon Sep 17 00:00:00 2001 From: lengyx Date: Fri, 29 Dec 2017 15:10:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3=20=E7=BD=91=E6=98=93?= =?UTF-8?q?=E4=BA=91=20set-cookie=20=E4=B8=AD=20=E8=AE=BE=E7=BD=AE=20Domai?= =?UTF-8?q?n=3D.music.163.com=20=E6=9C=AC=E5=9C=B0cookie=E6=97=A0=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router/loginCellphone.js | 1 + 1 file changed, 1 insertion(+) diff --git a/router/loginCellphone.js b/router/loginCellphone.js index 38c2d2f..0a0524e 100644 --- a/router/loginCellphone.js +++ b/router/loginCellphone.js @@ -21,6 +21,7 @@ router.get('/', (req, res) => { cookie, (music_req, cookie) => { // console.log(music_req) + cookie = cookie.map(x => x.replace("Domain=.music.163.com", "")) res.set({ 'Set-Cookie': cookie }) From 4dfab517391a10232cf191faa148aa592f8a432e Mon Sep 17 00:00:00 2001 From: waterdanceTV <13169670619@163.com> Date: Fri, 29 Dec 2017 15:46:41 +0800 Subject: [PATCH 2/2] improve --- README.MD | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.MD b/README.MD index b84b892..e988a31 100644 --- a/README.MD +++ b/README.MD @@ -1,5 +1,5 @@ # 网易云音乐 API -网易云音乐 Node.js 版 API +网易云音乐 Node.js API service

Version License diff --git a/package.json b/package.json index e758489..efd74f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "2.7.9", + "version": "2.7.10", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js",