How to use cloudflare env object outside of createServerFn? #5794
Unanswered
HuakunShen
asked this question in
Q&A
Replies: 1 comment
-
|
full repro project please |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tested, the cloudflare:worker env object seems to only work within
createServerFn.I have a hono server embed into tanstack start as a sub route. I want to be able to use env object there.
So I have to be able to access
envthe traditional rest API way, not withcreateServerFn.Beta Was this translation helpful? Give feedback.
All reactions