Link: github.com/indexzero/h…

NPM install http-server -g

After the installation is complete, run the http-server command to add the folder path.

Suppose I want to expose static files in the code\git folder on drive C to the outside world via file server. Use the command http-server c:\code\git:

Localhost :8080

For more of Jerry’s original articles, please follow the public account “Wang Zixi “: