mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
fix: rename --no-auth-read to --no-auth-access
This commit is contained in:
@@ -501,7 +501,7 @@ impl InnerService {
|
||||
.unwrap_or_default(),
|
||||
_ => false,
|
||||
},
|
||||
None => !self.args.auth_access && req.method() == Method::GET,
|
||||
None => self.args.no_auth_access && req.method() == Method::GET,
|
||||
},
|
||||
}
|
||||
};
|
||||
@@ -733,8 +733,8 @@ fn print_listening(address: &str, port: u16, tls: bool) {
|
||||
for addr in addrs {
|
||||
eprintln!(" {}://{}:{}", protocol, addr, port);
|
||||
}
|
||||
eprintln!();
|
||||
}
|
||||
eprintln!();
|
||||
}
|
||||
|
||||
fn retrive_listening_addrs(address: &str) -> Vec<String> {
|
||||
|
||||
Reference in New Issue
Block a user