TanStackT
TanStack7mo ago
72 replies
popular-magenta

server env variables

Hey guys, there have been a lot of changes to vinxi, nitro and I am wondering as of the latest tanstack start version how we should go about injecting our environment variables server side.

I can pass them through to vite just fine, using VITE_ prefix but when it comes to getting my server side env variables, I cannot find a solution.

It seems to work in dev just fine, but not in production
Was this page helpful?