From 2d7fefd820530080002a063acf9b0a2501c6725b Mon Sep 17 00:00:00 2001 From: Lia Lenckowski Date: Sun, 1 Oct 2023 23:09:23 +0200 Subject: support scalar bind field in https config (the example from the readme was broken all along. oops) Signed-off-by: metamuffin --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index c02af52..c686930 100644 --- a/src/config.rs +++ b/src/config.rs @@ -30,6 +30,7 @@ pub struct HttpConfig { #[derive(Debug, Serialize, Deserialize)] pub struct HttpsConfig { + #[serde(deserialize_with = "string_or_seq")] pub bind: Vec, pub tls_cert: PathBuf, pub tls_key: PathBuf, -- cgit v1.2.3-70-g09d2