api calls working client/server side (hardcoded values)
This commit is contained in:
parent
aeac13e81b
commit
4eed183945
|
@ -100,16 +100,16 @@ module.exports = {
|
||||||
*/
|
*/
|
||||||
axios: {
|
axios: {
|
||||||
// See https://github.com/nuxt-community/axios-module#options
|
// See https://github.com/nuxt-community/axios-module#options
|
||||||
// proxy: true,
|
proxy: true,
|
||||||
// baseURL: 'http://' + process.env.URL_EXTERNAL + ':' + process.env.PORT_APP,
|
// baseURL: 'http://' + process.env.URL_EXTERNAL + ':' + process.env.PORT_APP,
|
||||||
baseURL: process.env.URL_EXTERNAL,
|
baseURL: process.env.URL_EXTERNAL,
|
||||||
browserBaseURL: 'https://cms.marcleopold.isnet.uk',
|
browserBaseURL: 'https://marcleopold.isnet.uk',
|
||||||
debug: true,
|
debug: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
// proxy: {
|
proxy: {
|
||||||
// '/api/v1/': 'http://' + process.env.URL_EXTERNAL + ':' + process.env.PORT_SERVER
|
'/api/v1/': 'https://cms.marcleopold.isnet.uk',
|
||||||
// },
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Build configuration
|
** Build configuration
|
||||||
|
|
Loading…
Reference in New Issue