mirror of
https://github.com/luckjiawei/podux.git
synced 2026-11-30 00:56:47 +00:00
🔊 UA
This commit is contained in:
1 parent
69afa49d1c
commit
edc2a0416d
1 file changed
+1
-1
@@ -177,7 +177,7 @@ func (s *Service) GetLatestVersion() (*LatestVersionResponse, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
req.Header.Set("User-Agent", "podux-server")
|
||||
req.Header.Set("User-Agent", "podux-server/"+buildinfo.AppVersion)
|
||||
req.Header.Set("Accept", "application/vnd.github+json")
|
||||
|
||||
resp, err := client.Do(req)
|
||||
|
||||
Reference in new issue
Block a user