From f77bd41837389b4ca2d9ca84e8f2488991331e7e Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 6 Nov 2025 13:41:43 +0000 Subject: [PATCH] Add empty config default for rtc_transports to not generate `false`. Signed-off-by: Jason Volk --- src/core/config/mod.rs | 2 ++ tuwunel-example.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index 78a9eb85..998b3fb1 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -2178,6 +2178,8 @@ pub struct WellKnownConfig { /// type = "livekit" /// livekit_service_url = "https://livekit.yourdomain.com" /// ``` + /// + /// default: [] #[serde(default)] pub rtc_transports: Vec, } diff --git a/tuwunel-example.toml b/tuwunel-example.toml index 5122966a..d7926cbb 100644 --- a/tuwunel-example.toml +++ b/tuwunel-example.toml @@ -1864,7 +1864,7 @@ # livekit_service_url = "https://livekit.yourdomain.com" # ``` # -#rtc_transports = false +#rtc_transports = [] #[global.blurhashing]