mirror of https://github.com/miniflux/v2.git
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 {
|
func (c *Client) buildHeaders() http.Header {
|
||||||
headers := make(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", "*/*")
|
headers.Add("Accept", "*/*")
|
||||||
|
|
||||||
if c.etagHeader != "" {
|
if c.etagHeader != "" {
|
||||||
|
|
Loading…
Reference in New Issue