* Revert default address to 0.0.0.0 due to docker usage & compatibility
* Add --bind option to readme & change some examples
This commit is contained in:
parent
cc2dd1e1fe
commit
fec933c5ec
2 changed files with 10 additions and 3 deletions
|
@ -39,7 +39,7 @@ pub struct Args {
|
|||
#[clap(short, long, default_value_t = 8080)]
|
||||
pub port: u16,
|
||||
|
||||
#[clap(short, long, default_value_t = IpAddr::from([127, 0, 0, 1]))]
|
||||
#[clap(short, long, default_value_t = IpAddr::from([0, 0, 0, 0]))]
|
||||
pub bind: IpAddr,
|
||||
|
||||
#[clap(long)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue