diff --git a/nuxt.config.js b/nuxt.config.js index d839e19..7ed40bd 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -46,6 +46,10 @@ export default { plugins: [ ], + http: { + baseURL: process.env.BASE_URL || 'http://localhost:3000' + }, + env: { baseUrl: process.env.BASE_URL || 'http://localhost:3000' }, diff --git a/server/chew.js b/server/chew.js index dcb67e1..4d24839 100644 --- a/server/chew.js +++ b/server/chew.js @@ -43,7 +43,6 @@ const manager = { } }, async get (source) { - console.error('dentro get!') try { // Get a response stream