diff options
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/web-install.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/js/web-install.js b/static/js/web-install.js index 3fbec2d4..21bf1915 100644 --- a/static/js/web-install.js +++ b/static/js/web-install.js @@ -154,7 +154,8 @@ async function getLatestRelease() { throw new Error(`device model (${product}) is not supported by the GrapheneOS web installer`); } - let metadataResp = await fetch(`${RELEASES_URL}/${product}-stable`); + let channel = gs101Devices.includes(product) ? "beta" : "stable"; + let metadataResp = await fetch(`${RELEASES_URL}/${product}-${channel}`); let metadata = await metadataResp.text(); let releaseId = metadata.split(" ")[0]; |
