mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 15:57:53 +08:00
fix(config): register proxy probe URLs default
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user