Skip to content

Commit 31d2d38

Browse files
committed
sync
1 parent d21477d commit 31d2d38

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/console/resource/resource.cloudflare.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ export const Resource = new Proxy(
55
{},
66
{
77
get(_target, prop: string) {
8-
if (prop in env) {
8+
console.log(`111 ${prop}`)
9+
if (`SST_RESOURCE_${prop}` in env) {
10+
console.log(`222 ${prop}`)
911
// @ts-expect-error
1012
const value = env[`SST_RESOURCE_${prop}`]
13+
console.log(`333 ${value}`)
1114
return typeof value === "string" ? JSON.parse(value) : value
1215
} else if (prop === "App") {
1316
// @ts-expect-error

0 commit comments

Comments
 (0)