fix(rust/server): add serde alias for clientAllowedIPs in server config
This commit is contained in:
@@ -90,6 +90,7 @@ pub struct ServerConfig {
|
||||
pub server_endpoint: Option<String>,
|
||||
/// AllowedIPs for generated WireGuard client configs.
|
||||
/// Defaults to ["0.0.0.0/0"] (full tunnel).
|
||||
#[serde(alias = "clientAllowedIPs")]
|
||||
pub client_allowed_ips: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user