先搭建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.
ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/fIr1ax ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net ppt.cc/fwpCex ppt.cc/fxcLIx ppt.cc/foX6Ux linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com ppt.cc/ffAGfx ppt.cc/fJbezx ppt.cc/fNIQDx ppt.cc/fCSllx ppt.cc/fybDVx ppt.cc/fIMQxx ppt.cc/fKlBax
先搭建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