This commit is contained in:
Alexey
2026-01-07 18:16:01 +03:00
parent 5016160ac3
commit 85cb4092d5
3 changed files with 37 additions and 6 deletions

View File

@@ -154,6 +154,9 @@ pub struct ProxyConfig {
#[serde(default)]
pub listeners: Vec<ListenerConfig>,
#[serde(default)]
pub show_link: Vec<String>,
}
fn default_port() -> u16 { 443 }
@@ -208,6 +211,7 @@ impl Default for ProxyConfig {
fake_cert_len: default_fake_cert_len(),
upstreams: Vec::new(),
listeners: Vec::new(),
show_link: Vec::new(),
}
}
}