api calls working client/server side (hardcoded values)
This commit is contained in:
parent
aeac13e81b
commit
4eed183945
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue