Skip to content

Commit c5998a5

Browse files
committed
Fix redirect
1 parent e00514b commit c5998a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/flashpack/src/utils/manifest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const REPO = "commaai/vamOS";
2+
const IMAGES_REPO = "commaai/vamos-images";
23
const VERSION_URL = `https://raw.githubusercontent.com/${REPO}/master/userspace/root/VERSION`;
34

45
export interface ChunkInfo {
@@ -29,7 +30,7 @@ export async function getManifest(): Promise<ManifestEntry[]> {
2930
if (!versionRes.ok) throw new Error(`Failed to fetch version: ${versionRes.status}`);
3031
const version = (await versionRes.text()).trim();
3132

32-
const manifestUrl = `https://raw.githubusercontent.com/${REPO}/v${version}/manifest.json`;
33+
const manifestUrl = `https://raw.githubusercontent.com/${IMAGES_REPO}/v${version}/manifest.json`;
3334
const res = await fetch(manifestUrl);
3435
if (!res.ok) throw new Error(`Failed to fetch manifest: ${res.status}`);
3536
return res.json();

0 commit comments

Comments
 (0)