mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-08 04:20:01 +03:00
Compare commits
2 Commits
fix-mandat
...
connection
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42521a1997 | ||
|
|
6e66f47887 |
@@ -51,7 +51,7 @@ struct ConfigToml {
|
||||
port: Option<u16>,
|
||||
release_bind: Option<Vec<scancode::Linux>>,
|
||||
cert_path: Option<PathBuf>,
|
||||
clients: Option<Vec<TomlClient>>,
|
||||
clients: Vec<TomlClient>,
|
||||
authorized_fingerprints: Option<HashMap<String, String>>,
|
||||
}
|
||||
|
||||
@@ -370,7 +370,6 @@ impl Config {
|
||||
self.config_toml
|
||||
.as_ref()
|
||||
.map(|c| c.clients.clone())
|
||||
.unwrap_or_default()
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.map(From::<TomlClient>::from)
|
||||
|
||||
Reference in New Issue
Block a user