1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 09:44:43 +00:00

Use GiteaServer as the user agent for http requests ()

Otherwise we're still presenting ourselves as GogsServer...
This commit is contained in:
Sandro Santilli 2018-01-22 21:37:14 +01:00 committed by Lauris BH
parent 1ce3572409
commit 00d08473b8

@ -25,7 +25,7 @@ import (
"time" "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 defaultCookieJar http.CookieJar
var settingMutex sync.Mutex var settingMutex sync.Mutex