T3 Stack Access Env Variables Without Prefix On Frontend
How do I access an env variable without the prefix on the frontend? I want to be able to use the same env variables across projects (Deploying on railway using environments) so how would I access the env variables on the frontend without the prefix
7 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Either or
I just want to be able to access env vars that don't start with the prefix, on the frontend
whatever method works is fine
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Ok it's not that bad. My laptop had a rediculously large cache folder and was slow as all hell with a half decent processor and 32gb ram lol so it took 2 minutes to add an env variable on the website
It's instant now so it's not that big of a deal to copy them
or just require the enitre app stack to use the prefix
which
yikes
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Can that be an empty string?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View