Skip to content

Commit

Permalink
sst.cloudflare.Worker: properly inject non-cloudflare links by name
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Aug 19, 2024
1 parent 4a14720 commit 40f0c2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/js/src/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export function fromCloudflareEnv(input: any) {
} catch {}
}
raw[key] = value;
if (key.startsWith("SST_RESOURCE_")) {
raw[key.replace("SST_RESOURCE_", "")] = value;
}
}
}

Expand Down

0 comments on commit 40f0c2f

Please sign in to comment.