summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2018-01-22 21:37:14 +0100
committerLauris BH <lauris@nix.lv>2018-01-22 22:37:14 +0200
commit00d08473b8fd4501100119808253a2e1afc6fd7f (patch)
tree1cea5c113e239d2b297ac54ffcdc208ad3ad4741 /modules
parent1ce35724094f8edc124ffe4b4e1f06a99ad0c646 (diff)
downloadgitea-00d08473b8fd4501100119808253a2e1afc6fd7f.tar.gz
gitea-00d08473b8fd4501100119808253a2e1afc6fd7f.zip
Use GiteaServer as the user agent for http requests (#3404)
Otherwise we're still presenting ourselves as GogsServer...
Diffstat (limited to 'modules')
-rw-r--r--modules/httplib/httplib.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/httplib/httplib.go b/modules/httplib/httplib.go
index f2d9a2bfaa..88190704bb 100644
--- a/modules/httplib/httplib.go
+++ b/modules/httplib/httplib.go
@@ -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