Skip to content

Commit 6748cec

Browse files
committed
download: modify check update api version
1 parent 41809c3 commit 6748cec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/download/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func DownloadStatic(workdirectory string, force bool, checkupdate bool) error {
5050

5151
// Check for updates
5252
if checkupdate {
53-
resp, err := http.Get("https://mrui-api.hzchu.top/v2/api/checkupdate")
53+
resp, err := http.Get("https://mrui-api.hzchu.top/v3/api/checkupdate")
5454

5555
if err != nil {
5656
logrus.Info("Failed to get update information, skipping check")

0 commit comments

Comments
 (0)