forked from coolaj86/goldilocks.js
add options
This commit is contained in:
parent
8de4178a7d
commit
31fec862f4
|
@ -29,6 +29,8 @@ Examples:
|
|||
node serve.js --servername jane.daplie.me --agree-tos --email jane@example.com --tunnel
|
||||
```
|
||||
|
||||
Options:
|
||||
|
||||
* `-p <port>` - i.e. `sudo serve-https -p 443` (defaults to 80+443 or 8443)
|
||||
* `-d <dirpath>` - i.e. `serve-https -d /tmp/` (defaults to `pwd`)
|
||||
* `-c <content>` - i.e. `server-https -c 'Hello, World! '` (defaults to directory index)
|
||||
|
|
Loading…
Reference in New Issue