Merge pull request #1484 from meshtastic/fix-downloads

Use page_url instead of zip_url now that we're splitting by architecture
This commit is contained in:
Ben Meadors 2024-10-05 10:32:44 -05:00 committed by GitHub
commit cdb38b17dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ export const FirmwareCard = ({
{release.slice(1, 6).map((release) => {
return (
<div key={release.id}>
<a href={release.zip_url}>{release.title}</a>
<a href={release.page_url}>{release.title}</a>
</div>
);
})}
@ -38,7 +38,7 @@ export const FirmwareCard = ({
{release?.length ? (
<>
<a
href={release[0].zip_url}
href={release[0].page_url}
className="button button--secondary button--block margin-top--sm"
>
Download {variant}