Read allowInsecure from config uri

This commit is contained in:
Keivan-sf
2025-07-26 19:17:01 +03:30
parent d3495f1ec3
commit 3d0cbcfc66
4 changed files with 9 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ pub struct WsSettings {
#[derive(Serialize, Deserialize)]
pub struct TlsSettings {
pub alpn: Option<Vec<String>>,
pub allowInsecure: Option<bool>,
pub allowInsecure: bool,
pub serverName: Option<String>,
pub enableSessionResumption: Option<bool>,
pub disableSystemRoot: Option<bool>,