Add asset URLs to manifest
diff --git a/src/deployments/expo.ts b/src/deployments/expo.ts
index b5d404c..82df7b9 100644
--- a/src/deployments/expo.ts
+++ b/src/deployments/expo.ts
@@ -34,7 +34,11 @@
const object = await env.ARTIFACTS.get(`${product}/expo/${manifestID}.json`);
if (!object) return env.HTTP_STATUS_PAGES.fetch("https://http-status-pages.jottocraft.com/?status=404");
- const buildManifest = await object.json();
+ const buildManifest = await object.json<any>();
+
+ // Add URLs to the manifest
+ buildManifest.launchAsset.url = `https://aero.jottocraft.com/${product}/expo/assets/${buildManifest.launchAsset.key}`;
+ buildManifest.assets.forEach((asset: any) => asset.url = `https://aero.jottocraft.com/${product}/expo/assets/${asset.key}`)
const boundary = "jottocraft-Aero-Boundary-" + crypto.randomUUID();