chore: get port
This commit is contained in:
@@ -58,6 +58,10 @@ pub struct CertConfig {
|
||||
}
|
||||
|
||||
impl CertConfig {
|
||||
// pub fn get_port(&self, port: Option<u16>) -> u16 {
|
||||
// self.port.or(port).unwrap_or(80)
|
||||
// }
|
||||
|
||||
pub fn filter_cert_config_items(self, valid_days: i32) -> Self {
|
||||
let mut filtered_cert_items = vec![];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user