diff --git a/src/store/actions/index.js b/src/store/actions/index.js index 06e7442..8dfb347 100644 --- a/src/store/actions/index.js +++ b/src/store/actions/index.js @@ -59,6 +59,7 @@ export const fetchSearchMovie = (searchTerm) => { export const fetchNetflixOriginals = () => { return async (dispatch) => { try { + console.log('PROCESSS', process.env) const request = await axios.get( `/discover/tv?api_key=${process.env.API_KEY}&with_networks=213` ) diff --git a/webpack.config.js b/webpack.config.js index 41119e9..be98cf6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -7,7 +7,6 @@ const webpack = require('webpack') var path = require('path') module.exports = () => { - console.log('process', process.env) let envKeys = {} if (process.env.VERCEL_ENV === 'production') { envKeys = { API_KEY: process.env.API_KEY }