console.log dotenv 4
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = () => {
|
|||||||
// call dotenv and it will return an Object with a parsed key
|
// call dotenv and it will return an Object with a parsed key
|
||||||
const env = dotenv.config().parsed
|
const env = dotenv.config().parsed
|
||||||
console.log('process------', process.env)
|
console.log('process------', process.env)
|
||||||
console.log('env------', dotenv.config())
|
console.log('env------', $API_KEY)
|
||||||
|
|
||||||
// reduce env variables to an oject
|
// reduce env variables to an oject
|
||||||
const envKeys = Object.keys(env).reduce((prev, next) => {
|
const envKeys = Object.keys(env).reduce((prev, next) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user