Update user agent with new website URL

This commit is contained in:
Frédéric Guillot 2018-07-28 10:32:48 -07:00
parent 72bc113b88
commit 17054b396e

View file

@ -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 != "" {