Skip to content

Commit 00d0847

Browse files
strklafriks
authored andcommitted
Use GiteaServer as the user agent for http requests (#3404)
Otherwise we're still presenting ourselves as GogsServer...
1 parent 1ce3572 commit 00d0847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/httplib/httplib.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"time"
2626
)
2727

28-
var defaultSetting = Settings{false, "GogsServer", 60 * time.Second, 60 * time.Second, nil, nil, nil, false}
28+
var defaultSetting = Settings{false, "GiteaServer", 60 * time.Second, 60 * time.Second, nil, nil, nil, false}
2929
var defaultCookieJar http.CookieJar
3030
var settingMutex sync.Mutex
3131

0 commit comments

Comments
 (0)