syncing process env with context env #8053
Unanswered
hyusetiawan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using remix with cloudflare pages + workers. When I deploy, I see that process.env is sometimes empty sometimes filled, after reading https://developers.cloudflare.com/workers/runtime-apis/nodejs/process/ it explains why. I do want to consolidate accessing the environment variables to the standard node, which is process.env
so when I load the application context, ex:
is it frowned upon to copy the context.cloudflare.env into process.env? in the article i linked above, it's highly advised not to re-assign due to possible referential issues but what about just copying/merging the values instead?
Beta Was this translation helpful? Give feedback.
All reactions