Total Pageviews

Monday, 11 November 2024

http-file-server

 先搭建go环境。

然后,go install github.com/iikira/http-file-server@latest

$  http-file-server -h

$ http-file-server -path . -port 1234

项目地址:https://github.com/iikira/http-file-server

---------------

有点问题,还是建议用npm install -g serve带来的serve.

No comments:

Post a Comment