mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-05 21:58:56 +08:00
增加Vercel 部署说明
This commit is contained in:
parent
4cc750d6ec
commit
bb468d5b55
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "4.0.7",
|
||||
"version": "4.0.8",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user