Replace download links for releases index page

Since the migration to Jekyll, the homepage URL:

  https://www.gerritcodereview.com/download/

does not redirect to:

  https://gerrit-releases.storage.googleapis.com/

Change the index page to directly use the destination URL instead of
the homepage URL.

Bug: Issue 9630
Change-Id: Idc7a1d07f60b4c2685b7eb9f59983b714af7d36a
This commit is contained in:
David Pursehouse 2018-09-27 05:46:04 +00:00
parent aee3bdc2d6
commit ab91ba1723
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ function(data) {
var doc = document;
var frg = doc.createDocumentFragment();
var rx = /^gerrit(?:-full)?-([0-9.]+(?:-rc[0-9]+)?)[.]war/;
var dl = 'https://www.gerritcodereview.com/download/';
var dl = 'https://gerrit-releases.storage.googleapis.com/';
var docs = 'https://gerrit-documentation.storage.googleapis.com/';
var src = 'https://gerrit.googlesource.com/gerrit/+/'