diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-06-21 11:11:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 03:11:17 +0000 |
commit | e79ff5056043f25a77c50847a228826bc7cdaf61 (patch) | |
tree | 93b2bc97dd17a7cb9eddf332e06fe550b24a1a3c /services/cron | |
parent | df5cf5ddbd9099a121d5074a0b2a710fd71309fd (diff) | |
download | gitea-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.go | 2 |
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) |