fix: host addr
This commit is contained in:
@@ -17,6 +17,7 @@ program
|
||||
.description('运行一个 web 服务器预览目录中的内容,并实时监听更新')
|
||||
.argument('[dir]', '要预览的目录', '.')
|
||||
.option('-p, --port <port>', '端口号', '3000')
|
||||
.option('-h, --host <host>', '主机地址', '0.0.0.0')
|
||||
.action(serveCommand);
|
||||
|
||||
program
|
||||
|
||||
Reference in New Issue
Block a user