Switch Downloads to Boundary (#642)

pull/673/head
Brandon Romano 6 years ago committed by GitHub
parent 76a891cfe2
commit 089dfcf83e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
export default '1.4.1'
export default '0.1.0'

@ -66,7 +66,7 @@ export default function DownloadsPage({ releaseData, previousVersions }) {
<ReleaseInformation
brand="red"
productId="vault"
productId="boundary"
productName={productName}
releases={previousVersions}
latestVersion={releaseData.version}
@ -76,8 +76,7 @@ export default function DownloadsPage({ releaseData, previousVersions }) {
}
export async function getStaticProps() {
// NOTE: make sure to change "vault" here to your product slug
return fetch(`https://releases.hashicorp.com/vault/${VERSION}/index.json`)
return fetch(`https://releases.hashicorp.com/boundary/${VERSION}/index.json`)
.then((r) => r.json())
.then((releaseData) => ({ props: { releaseData } }))
.catch(() => {

Loading…
Cancel
Save