1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +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

@ -72,7 +72,7 @@ func New(url string) *Client {
// NewClientWithConfig initializes a new HTTP client with application config options.
func NewClientWithConfig(url string, opts *config.Options) *Client {
userAgent := opts.UserAgent()
userAgent := opts.HTTPClientUserAgent()
if userAgent == "" {
userAgent = DefaultUserAgent
}