Files
smallwebwaf/internal
sneak 3fa1f4b732
check / check (push) Successful in 3m47s
Read every setting through viper (closes #211)
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. A setting may also be given as a file, the _FILE form, which rproxy's settings now have too; rproxy still writes nothing to disk. The settings tests pass set into a viper instead of a lookup function.

Model: deepseek-v4-pro
2026-11-07 05:29:14 +00:00
..