Last active
February 8, 2022 07:36
-
-
Save Luke-SNAW/2e0978411cf7f5d4a3b506ccf8a44720 to your computer and use it in GitHub Desktop.
[next.js .env for client] #nextjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Next.js comes with built-in support for environment variables. | |
// https://nextjs.org/docs/basic-features/environment-variables | |
module.exports = { | |
env: { | |
LOCAL_API_ENDPOINT: process.env.LOCAL_API_ENDPOINT, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment