console.log prod
This commit is contained in:
@@ -9,7 +9,7 @@ var path = require('path')
|
||||
module.exports = () => {
|
||||
console.log('process', process.env)
|
||||
let envKeys = {}
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
if (process.env.VERCEL_ENV === 'production') {
|
||||
envKeys = { API_KEY: process.env.API_KEY }
|
||||
} else {
|
||||
// call dotenv and it will return an Object with a parsed key
|
||||
|
||||
Reference in New Issue
Block a user