$ npm install -g general-file-server
$ gfs
在相应的 node_modules 文件夹下修改配置文件即可:
module.exports = {
hostname: '192.168.1.110', // hostname, or "abc.com"
port: 1234, // port
root_path: "/", // root_path to serve on your file system
title: "General File Server", // title in the page
logo_link: "/____statics/logo.png" // href link of the logo
}