Replies: 3 comments 3 replies
-
Yeah it would be cool to read API_URL from a util or constant file. We will need to fetch those values outside of |
Beta Was this translation helpful? Give feedback.
-
Hello! 👋 I'm in the same situation where I need to access |
Beta Was this translation helpful? Give feedback.
-
If anyone still encounters this issue, we can use the See also #7875. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
#1285 addresses reading environment variables from context when using cloudflare-pages.
However, when you have other secrets to set, like client-secret, app-secret, etc for example when using social login, I am unable to read environment variables.
I've tried reading from
globalThis
and I get the errorAfter setting
A=1
in.env
and adding the--binding
flag. However, I am able to readcontext.A
in any loader in Remix.Beta Was this translation helpful? Give feedback.
All reactions