mirror of
https://github.com/miniflux/v2.git
synced 2024-09-28 05:11:51 +02:00
Update user agent with new website URL
This commit is contained in:
parent
72bc113b88
commit
17054b396e
@ -212,7 +212,7 @@ func (c *Client) buildClient() http.Client {
|
||||
|
||||
func (c *Client) buildHeaders() http.Header {
|
||||
headers := make(http.Header)
|
||||
headers.Add("User-Agent", "Mozilla/5.0 (compatible; Miniflux/"+version.Version+"; +https://miniflux.net)")
|
||||
headers.Add("User-Agent", "Mozilla/5.0 (compatible; Miniflux/"+version.Version+"; +https://miniflux.app)")
|
||||
headers.Add("Accept", "*/*")
|
||||
|
||||
if c.etagHeader != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user