Added optional minimal file server

This commit is contained in:
Ara Sadoyan
2025-07-02 18:29:14 +02:00
parent e586967830
commit 2e33d692bb
10 changed files with 52 additions and 38 deletions

View File

@@ -150,15 +150,5 @@ pub fn parce_main_config(path: &str) -> AppConfig {
}
}
};
// match cfo.config_tls_address.clone() {
// Some(tls_cert) => {
// if let Some((ip, port_str)) = tls_cert.split_once(':') {
// if let Ok(port) = port_str.parse::<u16>() {
// cfo.local_tls_server = Option::from((ip.to_string(), port));
// }
// }
// }
// None => {}
// };
cfo
}