diff options
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index e3b0d3c..6ef392d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -59,8 +59,8 @@ pub struct HttpConfig { pub struct HttpsConfig { #[serde(deserialize_with = "string_or_seq")] pub bind: Vec<SocketAddr>, - pub tls_cert: PathBuf, - pub tls_key: PathBuf, + #[serde(deserialize_with = "seq_or_not")] + pub cert_path: Vec<PathBuf>, } // try deser Vec<T> but fall back to deser T and putting that in Vec |