Use the new download domain replace the old (#25405)

As title.
This commit is contained in:
Lunny Xiao authored and GitHub committed 2023-06-21 03:11:17 +00:00
1 parent df5cf5ddbd
commit e79ff50560
15 files changed
+29 -29

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ func registerUpdateGiteaChecker() {
RunAtStart: false,
Schedule: "@every 168h",
},
HTTPEndpoint: "https://dl.gitea.io/gitea/version.json",
HTTPEndpoint: "https://dl.gitea.com/gitea/version.json",
}, func(ctx context.Context, _ *user_model.User, config Config) error {
updateCheckerConfig := config.(*UpdateCheckerConfig)
return updatechecker.GiteaUpdateChecker(updateCheckerConfig.HTTPEndpoint)