This commit is contained in:
Daniel 2023-06-19 21:27:53 +08:00
parent da750ccfd0
commit f37a358cd6
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
9 changed files with 91 additions and 28 deletions

View file

@ -38,7 +38,7 @@ func GetRhyResult(force bool) (map[string]interface{}, error) {
}
request := httpclient.NewCloudRequest30s()
_, err := request.SetSuccessResult(&cachedRhyResult).Get(AliyunServer + "/apis/siyuan/version?ver=" + Ver)
_, err := request.SetSuccessResult(&cachedRhyResult).Get(ChinaServer + "/apis/siyuan/version?ver=" + Ver)
if nil != err {
logging.LogErrorf("get version info failed: %s", err)
return nil, err