diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2022-08-22 20:01:27 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2022-08-25 23:15:08 -0400 |
| commit | 30411068f9f69083f238237216d745423f74ef8a (patch) | |
| tree | 41cedabafa96509e74b2fc567b5f1a7e82fca48a /static/js/web-install.js | |
| parent | bf6f7a6d62a9329207fbdd113115112780ac4819 (diff) | |
temporarily use Beta for 6th generation installs
Diffstat (limited to 'static/js/web-install.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]; |
