1.0.0 • Published 3 years ago
empty-server v1.0.0
cnpm install empty-server -g
npm install empty-server -g
The empty-server
works without configuration.
Static Resource Services
"empty-server -d / -p 8080 -o localhost -P http://129.204.139.211"
You can pass a hash of configuration options to empty-server
.
Allowed values are as follows
Name | Type | Default | Description |
---|---|---|---|
-p or --port | {number} | 8080 | port is used to specify the port of the service |
-P or --proxy | {String} | proxy is used to configure proxies for services | |
-o or --host | {string} | loclhost | host is used to configure monitored hosts |
-d or --root | {string} | "process.cwd()" | root is used to configure the static file root directory |
1.0.0
3 years ago