Skip to content

Commit 8beee04

Browse files
committed
add missing mode when retrieving value
1 parent d0f4af6 commit 8beee04

File tree

1 file changed

+1
-1
lines changed
  • packages/cloudflare/src/cli/templates

1 file changed

+1
-1
lines changed

packages/cloudflare/src/cli/templates/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async function applyProjectEnvVars(mode = "production") {
2929

3030
if (nextEnvVars[mode]) {
3131
for (const key in nextEnvVars[mode]) {
32-
process.env[key] = nextEnvVars[key];
32+
process.env[key] = nextEnvVars[mode][key];
3333
}
3434
}
3535

0 commit comments

Comments
 (0)