You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be really helpful if the docs mentioned how to use env vars.
I can confirm that without this library, env.SOME_KEY does logged, however, as soon as I export router then the env item in my handler callback doesn't have that value.
Thanks for an awesome library btw.
The text was updated successfully, but these errors were encountered:
Access to environmental variables depends on runtime you are using. If you are using Cloudflare Workers, bindings and environmental variables should be available in handler context:
It'd be really helpful if the docs mentioned how to use env vars.
I can confirm that without this library,
env.SOME_KEY
does logged, however, as soon as Iexport router
then theenv
item in my handler callback doesn't have that value.Thanks for an awesome library btw.
The text was updated successfully, but these errors were encountered: