mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-01-19 09:41:53 -08:00
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:
commit
cdb38b17dc
|
@ -29,7 +29,7 @@ export const FirmwareCard = ({
|
||||||
{release.slice(1, 6).map((release) => {
|
{release.slice(1, 6).map((release) => {
|
||||||
return (
|
return (
|
||||||
<div key={release.id}>
|
<div key={release.id}>
|
||||||
<a href={release.zip_url}>{release.title}</a>
|
<a href={release.page_url}>{release.title}</a>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
@ -38,7 +38,7 @@ export const FirmwareCard = ({
|
||||||
{release?.length ? (
|
{release?.length ? (
|
||||||
<>
|
<>
|
||||||
<a
|
<a
|
||||||
href={release[0].zip_url}
|
href={release[0].page_url}
|
||||||
className="button button--secondary button--block margin-top--sm"
|
className="button button--secondary button--block margin-top--sm"
|
||||||
>
|
>
|
||||||
Download {variant}
|
Download {variant}
|
||||||
|
|
Loading…
Reference in a new issue