Skip to content

Commit

Permalink
Download page must not refer to dist.apache.org (apache#14855)
Browse files Browse the repository at this point in the history
  • Loading branch information
dave2wave authored Mar 25, 2022
1 parent a444161 commit 9644448
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions site2/website/pages/en/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ function getLatestAdaptersMirrorUrl(version) {
}

function distUrl(version, type) {
return `https://www.apache.org/dist/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
return `https://downloads.apache.org/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
}

function distOffloadersUrl(version) {
return `https://www.apache.org/dist/pulsar/pulsar-${version}/apache-pulsar-offloaders-${version}-bin.tar.gz`
return `https://downloads.apache.org//pulsar/pulsar-${version}/apache-pulsar-offloaders-${version}-bin.tar.gz`
}

function distAdaptersUrl(version) {
Expand All @@ -52,7 +52,7 @@ function pularManagerArchiveUrl(version, type) {
}

function connectorDistUrl(name, version) {
return `https://www.apache.org/dist/pulsar/pulsar-${version}/connectors/pulsar-io-${name}-${version}.nar`
return `https://downloads.apache.org/pulsar/pulsar-${version}/connectors/pulsar-io-${name}-${version}.nar`
}

function connectorDownloadUrl(name, version) {
Expand All @@ -64,7 +64,7 @@ function getLatestPulsarManagerArchiveMirrorUrl(version, type) {
}

function pulsarManagerDistUrl(version, type) {
return `https://www.apache.org/dist/pulsar/pulsar-manager/pulsar-manager-${version}/apache-pulsar-manager-${version}-${type}.tar.gz`
return `https://downloads.apache.org/pulsar/pulsar-manager/pulsar-manager-${version}/apache-pulsar-manager-${version}-${type}.tar.gz`
}

class Download extends React.Component {
Expand Down Expand Up @@ -204,7 +204,7 @@ class Download extends React.Component {
<MarkdownBlock>
You must [verify](https://www.apache.org/info/verification.html) the integrity of the downloaded files.
We provide OpenPGP signatures for every release file. This signature should be matched against the
[KEYS](https://www.apache.org/dist/pulsar/KEYS) file which contains the OpenPGP keys of
[KEYS](https://downloads.apache.org/pulsar/KEYS) file which contains the OpenPGP keys of
Pulsar's Release Managers. We also provide `SHA-512` checksums for every release file.
After you download the file, you should calculate a checksum for your download, and make sure it is
the same as ours.
Expand Down

0 comments on commit 9644448

Please sign in to comment.