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