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