This commit is contained in:
Frank
2025-09-09 15:47:24 -04:00
parent 32b47fcc1e
commit a3513244f1
11 changed files with 450 additions and 355 deletions

View File

@@ -8,6 +8,9 @@ export const Resource = new Proxy(
// @ts-expect-error
const value = env[prop]
return typeof value === "string" ? JSON.parse(value) : value
} else if (prop === "App") {
// @ts-expect-error
return JSON.parse(env.SST_RESOURCE_App)
}
throw new Error(`"${prop}" is not linked in your sst.config.ts (cloudflare)`)
},