console.log dotenv 5

This commit is contained in:
andres alcocer
2022-02-08 19:06:41 -05:00
parent eded1a6161
commit 39d27850c1

View File

@@ -10,7 +10,7 @@ module.exports = () => {
// call dotenv and it will return an Object with a parsed key
const env = dotenv.config().parsed
console.log('process------', process.env)
console.log('env------', $API_KEY)
console.log('env------', dotenv.config())
// reduce env variables to an oject
const envKeys = Object.keys(env).reduce((prev, next) => {