update: directory structure
This commit is contained in:
parent
4eed183945
commit
0d5dd454e0
4
.env-dev
4
.env-dev
|
@ -1,4 +1,4 @@
|
||||||
URL_INTERNAL=0.0.0.0
|
URL_INTERNAL=0.0.0.0
|
||||||
URL_EXTERNAL=http://192.168.0.101
|
URL_CMS=http://192.168.0.101
|
||||||
PORT_APP=3003
|
PORT_APP=3003
|
||||||
PORT_SERVER=3004
|
PORT_CMS=3004
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
URL_INTERNAL=127.0.0.1
|
URL_INTERNAL=127.0.0.1
|
||||||
URL_EXTERNAL=https://cms.marcleopold.isnet.uk
|
URL_CMS=https://cms.marcleopold.isnet.uk
|
||||||
PORT_APP=3003
|
PORT_APP=3003
|
||||||
PORT_SERVER=3004
|
PORT_CMS=3004
|
||||||
|
|
|
@ -81,4 +81,6 @@ dist
|
||||||
.idea
|
.idea
|
||||||
Session.vim
|
Session.vim
|
||||||
*.un~
|
*.un~
|
||||||
server/storage/database.sqlite
|
cms/storage/database.sqlite
|
||||||
|
cms/storage
|
||||||
|
*.swp
|
||||||
|
|
|
@ -81,12 +81,12 @@ module.exports = {
|
||||||
'@nuxtjs/proxy',
|
'@nuxtjs/proxy',
|
||||||
['@nuxtjs/dotenv', {
|
['@nuxtjs/dotenv', {
|
||||||
path: '../',
|
path: '../',
|
||||||
systemvars: true,
|
systemvars: false,
|
||||||
only: [
|
only: [
|
||||||
'URL_INTERNAL',
|
'URL_INTERNAL',
|
||||||
'URL_EXTERNAL',
|
'URL_CMS',
|
||||||
'PORT_APP',
|
'PORT_APP',
|
||||||
'PORT_SERVER',
|
'PORT_CMS',
|
||||||
],
|
],
|
||||||
}]
|
}]
|
||||||
],
|
],
|
||||||
|
@ -101,14 +101,14 @@ 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: process.env.URL_CMS,
|
||||||
baseURL: process.env.URL_EXTERNAL,
|
|
||||||
browserBaseURL: 'https://marcleopold.isnet.uk',
|
browserBaseURL: 'https://marcleopold.isnet.uk',
|
||||||
debug: true,
|
debug: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api/v1/': 'https://cms.marcleopold.isnet.uk',
|
'/api/v1/': 'https://cms.marcleopold.isnet.uk',
|
||||||
|
// '/api/v1/': process.env.URL_CMS,
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue