1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00

Update Miniflux man page with UserAgent setting

This commit is contained in:
Benjamin Congdon 2020-11-29 12:11:38 -08:00 committed by fguillot
parent 52a626d7b9
commit eeeea74bf1
5 changed files with 16 additions and 11 deletions

View file

@ -62,7 +62,7 @@ func TestClientRequestUserAgent(t *testing.T) {
}
userAgent := "Custom User Agent"
os.Setenv("USER_AGENT", userAgent)
os.Setenv("HTTP_CLIENT_USER_AGENT", userAgent)
opts, err := config.NewParser().ParseEnvironmentVariables()
if err != nil {
t.Fatalf(`Parsing config failed: %v`, err)