always use stable channel for web installer again
This commit is contained in:
parent
fc23a9ecb7
commit
66132efc9f
@ -154,8 +154,7 @@ async function getLatestRelease() {
|
|||||||
throw new Error(`device model (${product}) is not supported by the GrapheneOS web installer`);
|
throw new Error(`device model (${product}) is not supported by the GrapheneOS web installer`);
|
||||||
}
|
}
|
||||||
|
|
||||||
let channel = gs101Devices.includes(product) ? "beta" : "stable";
|
let metadataResp = await fetch(`${RELEASES_URL}/${product}-stable`);
|
||||||
let metadataResp = await fetch(`${RELEASES_URL}/${product}-${channel}`);
|
|
||||||
let metadata = await metadataResp.text();
|
let metadata = await metadataResp.text();
|
||||||
let releaseId = metadata.split(" ")[0];
|
let releaseId = metadata.split(" ")[0];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user