mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
Add Cloudflare Worker environment variable auto-population (#3439)
Fixes #3438 This change adds the `nodejs_compat_populate_process_env` flag to the Cloudflare Worker's compatibility flags, which automatically populates `process.env` with values from the `env` object. As a result, the manual code that previously copied each key from `env` to `process.env` could be removed. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/mastra-ai/mastra/pull/3439?shareId=52e1095e-0cb9-4925-824d-d46b6def9681). --------- Co-authored-by: Ward Peeters <ward@coding-tech.com>
This commit is contained in:
parent
a3f0e9081a
commit
9b24aebf35
2 changed files with 7 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue