Next.js Env Var Conventions
Variables prefixed with NEXT_PUBLIC_ are inlined into the client bundle — never put secrets there. Use the .env.local file locally and inject secrets via your hosting platform's environment settings in production.
Variables prefixed with NEXT_PUBLIC_ are inlined into the client bundle — never put secrets there. Use the .env.local file locally and inject secrets via your hosting platform's environment settings in production.