Switch Downloads to Boundary (#642)

This commit is contained in:
Brandon Romano authored and GitHub committed 2020-10-14 08:12:23 -07:00
1 parent 76a891cfe2
commit 089dfcf83e
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -1 +1 @@
export default '1.4.1'
export default '0.1.0'
+2 -3
View File
@@ -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(() => {