update: user-agent

main
git 2024-12-28 22:06:48 +08:00
parent 94789aaf68
commit bbedddb609
Signed by: git
GPG Key ID: 3F65EFFA44207ADD
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func New() *resty.Client {
OnAfterResponse(restyAfterResponseHook). OnAfterResponse(restyAfterResponseHook).
SetPreRequestHook(restyBeforeRequestHook). SetPreRequestHook(restyBeforeRequestHook).
OnError(restyErrHook). OnError(restyErrHook).
SetHeader("User-Agent", "envmgr-restyclient") SetHeader("User-Agent", "restyclient")
}) })
} }
return globalClient return globalClient