Read every setting through viper (closes #211) #219

Open
clawbot wants to merge 1 commits from issue-211-viper-config into next
1 Commits
Author SHA1 Message Date
sneak 9c755ee358 Read every setting through viper (closes #211)
check / check (push) Successful in 3m47s
servewaf's and rproxy's settings are read through viper, bound to the same environment variable names as before, in place of the os.LookupEnv function Main passed down. NewViper turns AutomaticEnv and AllowEmptyEnv on, so a setting that is set but empty reads as set, as it did. The _FILE forms, their errors, and rproxy reading no file form are unchanged, and the settings tests pass set into a viper instead of a lookup function.

Model: deepseek-v4-pro
2026-11-07 03:03:47 +00:00