update
This commit is contained in:
@@ -67,7 +67,7 @@ func CheckAndUpdate(remoteBaseURL string, currentVersion string) (bool, error) {
|
||||
|
||||
// fetchRemoteVersion 从远程获取版本号
|
||||
func fetchRemoteVersion(remoteBaseURL string) (string, error) {
|
||||
versionURL := fmt.Sprintf("%s/current_version", remoteBaseURL)
|
||||
versionURL := fmt.Sprintf("%s/user/getClientVersion", remoteBaseURL)
|
||||
|
||||
resp, err := http.Get(versionURL)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user