Replies: 2 comments
-
Hi, @marcfalk! Have you found a way to access cloudflare env variables? I'm also trying to understand how to access them |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is a working Cloudflare version |
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
-
TanStack Start looks super interesting 🙌
Coming from Remix, for which hosting platform adapters are pretty mature at this point, there are plenty of examples on how to get your site up and running on any one platform. For example on Cloudflare Pages with Cloudflare D1 for SQLite database and Drizzle (ORM) in the middle. I'm wondering how one would go about that with TanStack Start.
From the docs I can't find much about accessing environment variables - e.g. database connection strings - unless
process.env
is present. I found some examples in the docs under Start Examples (e.g. this one). Whenprocess.env
is not present what should I do to access variables provided by the hosting platform?Beta Was this translation helpful? Give feedback.
All reactions