aboutsummaryrefslogtreecommitdiffstats
path: root/services/cron
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-06-21 11:11:17 +0800
committerGitHub <noreply@github.com>2023-06-21 03:11:17 +0000
commite79ff5056043f25a77c50847a228826bc7cdaf61 (patch)
tree93b2bc97dd17a7cb9eddf332e06fe550b24a1a3c /services/cron
parentdf5cf5ddbd9099a121d5074a0b2a710fd71309fd (diff)
downloadgitea-e79ff5056043f25a77c50847a228826bc7cdaf61.tar.gz
gitea-e79ff5056043f25a77c50847a228826bc7cdaf61.zip
Use the new download domain replace the old (#25405)
As title.
Diffstat (limited to 'services/cron')
-rw-r--r--services/cron/tasks_extended.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/cron/tasks_extended.go b/services/cron/tasks_extended.go
index 3e0dbd132e..acf2d3373c 100644
--- a/services/cron/tasks_extended.go
+++ b/services/cron/tasks_extended.go
@@ -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)