We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 628b628 + 5608053 commit 32aa965Copy full SHA for 32aa965
1 file changed
src/network-services-pentesting/pentesting-web/nextjs.md
@@ -1015,8 +1015,8 @@ Manage sensitive information like API keys and database credentials securely wit
1015
1016
module.exports = {
1017
env: {
1018
- SECRET_API_KEY: process.env.SECRET_API_KEY, // Exposed to the client
1019
- NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL, // Correctly prefixed for client
+ SECRET_API_KEY: process.env.SECRET_API_KEY, // Not exposed to the client
+ NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL, // Correctly prefixed for exposure to client
1020
},
1021
}
1022
```
0 commit comments