mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
修改默认绑定 HOST #620
This commit is contained in:
+3
-3
@@ -181,14 +181,14 @@ windows 下使用 git-bash 或者 cmder 等终端执行以下命令 :
|
||||
$ set PORT=4000 && node app.js
|
||||
```
|
||||
|
||||
服务器启动绑定 127.0.0.1,如果需要更改, 可使用以下命令 : Mac/Linux
|
||||
服务器启动默认 host 为localhost,如果需要更改, 可使用以下命令 : Mac/Linux
|
||||
```shell
|
||||
$ HOST=localhost node app.js
|
||||
$ HOST=127.0.0.1 node app.js
|
||||
```
|
||||
windows 下使用 git-bash 或者 cmder 等终端执行以下命令 :
|
||||
|
||||
```shell
|
||||
$ set HOST=localhost && node app.js
|
||||
$ set HOST=127.0.0.1 && node app.js
|
||||
```
|
||||
## 可以使用代理
|
||||
|
||||
|
||||
Reference in New Issue
Block a user