A simple file server of Node.js

1.  npm install node-static -g

2. mkdir public (we could add files on the folder)

3. static /root/public  -a 0.0.0.0

Note: If you want more help, try static -h

Leave a Reply

Your email address will not be published / Required fields are marked *