Use http-server to build a web server

npm install http-server -g

Create a project folder and execute the command in the root directory

http-server

 

The php command can be used php -S 0.0.0.0:8080 
The python command can be used python -m SimpleHTTPServer 80 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325111542&siteId=291194637