http baseUrl

This commit is contained in:
lesion 2022-01-21 11:48:50 +01:00
parent b9847571f3
commit 8a8c6ac951
2 changed files with 4 additions and 1 deletions

View file

@ -46,6 +46,10 @@ export default {
plugins: [ plugins: [
], ],
http: {
baseURL: process.env.BASE_URL || 'http://localhost:3000'
},
env: { env: {
baseUrl: process.env.BASE_URL || 'http://localhost:3000' baseUrl: process.env.BASE_URL || 'http://localhost:3000'
}, },

View file

@ -43,7 +43,6 @@ const manager = {
} }
}, },
async get (source) { async get (source) {
console.error('dentro get!')
try { try {
// Get a response stream // Get a response stream