Allow the user to specify hostname to listen on (#138)

This commit is contained in:
Jouni K. Seppänen
2022-12-04 06:24:06 +01:00
committed by GitHub
parent 8c62ca981e
commit 9baac2181a
5 changed files with 15 additions and 7 deletions
+3 -2
View File
@@ -80,8 +80,9 @@ terminal:
silverbullet <pages-path>
```
By default, SB will bind to port `3000`, to use a different port use the
`--port` flag. By default SB doesnt offer any sort of authentication, to add
By default, SB will bind to port `3000` on all interfaces. To specify a
different address or port to listen on, use the `--hostname` and `--port`
options. By default SB doesnt offer any sort of authentication, to add
basic password authentication, pass the `--password` flag.
Once downloaded and booted, SB will print out a URL to open SB in your browser