mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 11:25:15 +00:00
sync
This commit is contained in:
parent
80fa6e6c49
commit
d21477d55a
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ export const Resource = new Proxy(
|
|||
get(_target, prop: string) {
|
||||
if (prop in env) {
|
||||
// @ts-expect-error
|
||||
const value = env[prop]
|
||||
const value = env[`SST_RESOURCE_${prop}`]
|
||||
return typeof value === "string" ? JSON.parse(value) : value
|
||||
} else if (prop === "App") {
|
||||
// @ts-expect-error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue