mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-05 21:58:56 +08:00
npx 方式运行完善和增加文档说明
This commit is contained in:
parent
10df8ecc3c
commit
e8222ce3c6
@ -1,6 +1,10 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
### 4.6.6 | 2022.06.20
|
||||||
|
- npx 方式运行完善和增加文档说明
|
||||||
|
|
||||||
### 4.6.5 | 2022.06.15
|
### 4.6.5 | 2022.06.15
|
||||||
- 修复npx使用路径错误
|
- 修复npx使用路径错误
|
||||||
|
|
||||||
### 4.6.4 | 2022.06.15
|
### 4.6.4 | 2022.06.15
|
||||||
- 修复歌单收藏/取消收藏歌曲接口报错问题 #1551
|
- 修复歌单收藏/取消收藏歌曲接口报错问题 #1551
|
||||||
|
|
||||||
|
@ -297,6 +297,20 @@ windows 下使用 git-bash 或者 cmder 等终端执行以下命令 :
|
|||||||
$ set HOST=127.0.0.1 && node app.js
|
$ set HOST=127.0.0.1 && node app.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### npx 方式运行
|
||||||
|
支持 npx 方式运行,会自动安装依赖和运行
|
||||||
|
```
|
||||||
|
npx NeteaseCloudMusicApi
|
||||||
|
```
|
||||||
|
如果需要更新,可使用 `npx NeteaseCloudMusicApi@版本号` 方式运行
|
||||||
|
|
||||||
|
或者运行
|
||||||
|
```
|
||||||
|
npx NeteaseCloudMusicApi@latest
|
||||||
|
|
||||||
|
```
|
||||||
|
此命令每次执行都会使用最新版
|
||||||
|
|
||||||
## Vercel 部署
|
## Vercel 部署
|
||||||
|
|
||||||
v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需要自己的服务器(访问 Vercel 部署的接口,需要额外加一个 realIP 参数,如 `/song/url?id=191254&realIP=116.25.146.177`)
|
v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需要自己的服务器(访问 Vercel 部署的接口,需要额外加一个 realIP 参数,如 `/song/url?id=191254&realIP=116.25.146.177`)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "4.6.5",
|
"version": "4.6.6",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
@ -47,7 +47,8 @@
|
|||||||
"interface.d.ts",
|
"interface.d.ts",
|
||||||
"module_types",
|
"module_types",
|
||||||
"server.js",
|
"server.js",
|
||||||
"generateConfig.js"
|
"generateConfig.js",
|
||||||
|
"public"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.24.0",
|
"axios": "^0.24.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user