🐛 User Agent 初始化

This commit is contained in:
Liang Ding 2022-07-20 09:32:10 +08:00
parent d06ebab62f
commit 1888165108
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 5 additions and 3 deletions

View file

@ -219,7 +219,6 @@ func InitConf() {
Conf.System.WorkspaceDir = util.WorkspaceDir
Conf.System.DataDir = util.DataDir
Conf.System.Container = util.Container
util.UserAgent = util.UserAgent + " " + util.Container
Conf.System.OS = runtime.GOOS
Conf.Newbie = util.IsNewbie