feat: demo0.1 index.js 更名为 server.js ,避免歧义。

This commit is contained in:
alwxkxk 2021-06-26 12:35:24 +08:00
parent 1bbe04600e
commit 70469ee29f
3 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# demo0.1 # demo0.1
```bash ```bash
#启动 #启动
node index node server.js
#浏览器访问 127.0.0.1:8000 #浏览器访问 127.0.0.1:8000
#tcp客户端连接 127.0.0.1:9000 #tcp客户端连接 127.0.0.1:9000

View File

@ -1,7 +1,7 @@
{ {
"apps":[ "apps":[
{"name":"base-tcp1","script":"./基础教程/tcp1/tcp1.js"}, {"name":"base-tcp1","script":"./基础教程/tcp1/tcp1.js"},
{"name":"demo0.1","script":"./index.js","cwd":"./demo0.1"}, {"name":"demo0.1","script":"./server.js","cwd":"./demo0.1"},
{"name":"demo1","script":"./demo1/myapp/bin/www"}, {"name":"demo1","script":"./demo1/myapp/bin/www"},
{"name":"demo2","script":"./demo2/myapp/bin/www"} {"name":"demo2","script":"./demo2/myapp/bin/www"}
] ]