How to read client env using env-nextjs

when attempting to read client variables env.ms always seem to fail on createEnv. I have defined it with NEXTPUBLIC. Am I missing something?
1 Reply
Neto
Neto2y ago
for client side varibles you have to prefix with NEXT_PUBLIC_ when setting and when using it
Want results from more Discord servers?
Add your server