sync
This commit is contained in:
@@ -7,7 +7,7 @@ export const Resource = new Proxy(
|
|||||||
get(_target, prop: string) {
|
get(_target, prop: string) {
|
||||||
if (prop in env) {
|
if (prop in env) {
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
const value = env[prop]
|
const value = env[`SST_RESOURCE_${prop}`]
|
||||||
return typeof value === "string" ? JSON.parse(value) : value
|
return typeof value === "string" ? JSON.parse(value) : value
|
||||||
} else if (prop === "App") {
|
} else if (prop === "App") {
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
|
|||||||
Reference in New Issue
Block a user