From 00d08473b8fd4501100119808253a2e1afc6fd7f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 22 Jan 2018 21:37:14 +0100 Subject: [PATCH] Use GiteaServer as the user agent for http requests (#3404) Otherwise we're still presenting ourselves as GogsServer... --- modules/httplib/httplib.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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