How can I use .env in latest ReactRouter framework #14498
-
|
I was playing around with latest RR7 framework, but had issue finding how to use .env vars limited to server side only (protected) from client side. I was using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
The Client-side code can access Note that |
Beta Was this translation helpful? Give feedback.

That changes things, process.env is not a thing in Cloudflare
You need to import
envfromcloudflare:workersin that case.