Question · Next.js course · Module 8: Deployment and Production
The NEXT_PUBLIC_ Prefix in Next.js
What does the NEXT_PUBLIC_ prefix mean for environment variables in Next.js?
Answer options
- The variable is only available on the server
- The variable is available on both the server and in the browser
- The variable is automatically encrypted
- The variable is only available in .env.local files
You can check the correct answer by solving this task in the CodeWorlds game.