summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/releases.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/static/releases.js b/static/releases.js
index 0316be97..f97a7d93 100644
--- a/static/releases.js
+++ b/static/releases.js
@@ -1,6 +1,7 @@
"use strict";
const baseUrl = "https://seamlessupdate.app/";
+const versionBaseUrl = "https://github.com/GrapheneOS/platform_manifest/releases/tag/";
const devices = ["blueline", "crosshatch", "taimen", "walleye"];
const channels = ["stable", "beta"];
@@ -43,8 +44,6 @@ for (const channel of channels) {
}).then(text => {
const metadata = text.trim().split(" ");
- const versionBaseUrl = "https://github.com/GrapheneOS/platform_manifest/releases/tag/";
-
const factoryFilename = device + "-factory-" + metadata[0] + ".zip";
const factoryUrl = baseUrl + factoryFilename;