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:
parent
52a626d7b9
commit
eeeea74bf1
5 changed files with 16 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue