From bb468d5b55a44812305897ef93b4e7c074991ac4 Mon Sep 17 00:00:00 2001 From: binaryify Date: Sat, 27 Feb 2021 21:15:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0Vercel=20=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ docs/README.md | 10 ++++++++++ package.json | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 6527be0..244a19f 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,7 @@ # 更新日志 +### 4.0.8 | 2021.2.27 +- 加入vercel 配置文件,支持 vercel 部署 + ### 4.0.7 | 2021.2.27 - 更新红心接口,修复红心接口460错误问题 [#1151](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1151) diff --git a/docs/README.md b/docs/README.md index fc175c6..f87d408 100644 --- a/docs/README.md +++ b/docs/README.md @@ -255,6 +255,16 @@ windows 下使用 git-bash 或者 cmder 等终端执行以下命令 : ```shell $ set HOST=127.0.0.1 && node app.js ``` + +## Vercel 部署 +v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需要自己的服务器 +### 操作方法 +1. fork 此项目 +2. 在 Vercel 官网点击 `New Project` +3. 点击 `Import Git Repository` 并选择你 fork 的此项目并点击`import` +4. 点击 `PERSONAL ACCOUNT` 的 `select` +5. 直接点`Continue` +6. `PROJECT NAME`自己填,`FRAMEWORK PRESET` 选 `Other` 然后直接点 `Deploy` 接着等部署完成即可 ## 可以使用代理 在 query 参数中加上 proxy=your-proxy 即可让这一次的请求使用 proxy diff --git a/package.json b/package.json index a397018..0556354 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "4.0.7", + "version": "4.0.8", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js", -- GitLab