From 30411068f9f69083f238237216d745423f74ef8a Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 22 Aug 2022 20:01:27 -0400 Subject: temporarily use Beta for 6th generation installs --- static/js/web-install.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'static/js') 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]; -- cgit v1.3.1