From d5484866faf53d130fa11cbd5616b677d276c6e0 Mon Sep 17 00:00:00 2001 From: xuhaihan Date: Wed, 19 Aug 2026 19:52:10 +0800 Subject: [PATCH] fix(config): register proxy probe URLs default --- backend/internal/config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/internal/config/config.go b/backend/internal/config/config.go index 798c08017c..f6bafa1ee6 100644 --- a/backend/internal/config/config.go +++ b/backend/internal/config/config.go @@ -2513,6 +2513,7 @@ func setEnvReachableDefaults() { viper.SetDefault("gateway.session_idle_timeout_minutes", 0) viper.SetDefault("gateway.user_message_queue.mode", "") viper.SetDefault("update.proxy_url", "") + viper.SetDefault("security.proxy_probe.urls", []ProbeURLConfig{}) // sticky_escape_enabled is the one exception to the zero-value rule: its // effective default is true, applied post-unmarshal via a viper.IsSet guard.