Glossary: Next.js Beyond the Basics
NEXT_PUBLIC_ variables
Also written: NEXT_PUBLIC_
Environment variables whose names start with NEXT_PUBLIC_ are written into the browser's JavaScript at build time. They are public, so never put secrets in them.
Glossary: Next.js Beyond the Basics
Also written: NEXT_PUBLIC_
Environment variables whose names start with NEXT_PUBLIC_ are written into the browser's JavaScript at build time. They are public, so never put secrets in them.