console.log dotenv

This commit is contained in:
andres alcocer
2022-02-08 19:08:40 -05:00
parent 39d27850c1
commit 48688dd502

View File

@@ -9,7 +9,7 @@ var path = require('path')
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('process------', process.env.API_KEY)
console.log('env------', dotenv.config())
// reduce env variables to an oject