You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/02/17 22:10:25 UTC

[groovy-website] branch asf-site updated: apache dist site redirects to downloads.apache.org

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 014bf07  apache dist site redirects to downloads.apache.org
014bf07 is described below

commit 014bf07890f969fb125af2b1a180487a378f4d47
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Feb 18 08:10:13 2020 +1000

    apache dist site redirects to downloads.apache.org
---
 site/src/site/pages/download.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/src/site/pages/download.groovy b/site/src/site/pages/download.groovy
index 7354c3b..af743dc 100644
--- a/site/src/site/pages/download.groovy
+++ b/site/src/site/pages/download.groovy
@@ -123,7 +123,7 @@ layout 'layouts/main.groovy', true,
                                     }
                                     def archiveUrl = { String type, String area, v -> "https://archive.apache.org/dist/groovy/${v}/${area}/apache-groovy-${type}-${v}.zip".toString() }
                                     def archiveExtUrl = { String type, String area, v, String ext -> "${archiveUrl(type, area, v)}.$ext".toString() }
-                                    def distUrl = { String type, String area, v -> "https://www.apache.org/dist/groovy/${v}/${area}/apache-groovy-${type}-${v}.zip".toString() }
+                                    def distUrl = { String type, String area, v -> "https://downloads.apache.org/groovy/${v}/${area}/apache-groovy-${type}-${v}.zip".toString() }
                                     def distExtUrl = { String type, String area, v, String ext -> "${distUrl(type, area, v)}.$ext".toString() }
                                     def findUrl = { String type, String area, v, String ext, boolean preferPermalink ->
                                         def u