api calls working client/server side (hardcoded values)

This commit is contained in:
ray 2019-02-26 11:55:16 +02:00
parent aeac13e81b
commit 4eed183945
1 changed files with 5 additions and 5 deletions

View File

@ -100,16 +100,16 @@ module.exports = {
*/
axios: {
// See https://github.com/nuxt-community/axios-module#options
// proxy: true,
proxy: true,
// baseURL: 'http://' + process.env.URL_EXTERNAL + ':' + process.env.PORT_APP,
baseURL: process.env.URL_EXTERNAL,
browserBaseURL: 'https://cms.marcleopold.isnet.uk',
browserBaseURL: 'https://marcleopold.isnet.uk',
debug: true,
},
// proxy: {
// '/api/v1/': 'http://' + process.env.URL_EXTERNAL + ':' + process.env.PORT_SERVER
// },
proxy: {
'/api/v1/': 'https://cms.marcleopold.isnet.uk',
},
/*
** Build configuration