Skip to content

Commit

Permalink
Use GiteaServer as the user agent for http requests (#3404)
Browse files Browse the repository at this point in the history
Otherwise we're still presenting ourselves as GogsServer...
  • Loading branch information
strk authored and lafriks committed Jan 22, 2018
1 parent 1ce3572 commit 00d0847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/httplib/httplib.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"time"
)

var defaultSetting = Settings{false, "GogsServer", 60 * time.Second, 60 * time.Second, nil, nil, nil, false}
var defaultSetting = Settings{false, "GiteaServer", 60 * time.Second, 60 * time.Second, nil, nil, nil, false}
var defaultCookieJar http.CookieJar
var settingMutex sync.Mutex

Expand Down

0 comments on commit 00d0847

Please sign in to comment.