update: directory structure

This commit is contained in:
ray 2019-02-26 12:59:48 +02:00
parent 4eed183945
commit 0d5dd454e0
705 changed files with 21 additions and 19 deletions

View File

@ -1,4 +1,4 @@
URL_INTERNAL=0.0.0.0
URL_EXTERNAL=http://192.168.0.101
URL_CMS=http://192.168.0.101
PORT_APP=3003
PORT_SERVER=3004
PORT_CMS=3004

View File

@ -1,4 +1,4 @@
URL_INTERNAL=127.0.0.1
URL_EXTERNAL=https://cms.marcleopold.isnet.uk
URL_CMS=https://cms.marcleopold.isnet.uk
PORT_APP=3003
PORT_SERVER=3004
PORT_CMS=3004

4
.gitignore vendored
View File

@ -81,4 +81,6 @@ dist
.idea
Session.vim
*.un~
server/storage/database.sqlite
cms/storage/database.sqlite
cms/storage
*.swp

View File

@ -81,12 +81,12 @@ module.exports = {
'@nuxtjs/proxy',
['@nuxtjs/dotenv', {
path: '../',
systemvars: true,
systemvars: false,
only: [
'URL_INTERNAL',
'URL_EXTERNAL',
'URL_CMS',
'PORT_APP',
'PORT_SERVER',
'PORT_CMS',
],
}]
],
@ -101,14 +101,14 @@ module.exports = {
axios: {
// See https://github.com/nuxt-community/axios-module#options
proxy: true,
// baseURL: 'http://' + process.env.URL_EXTERNAL + ':' + process.env.PORT_APP,
baseURL: process.env.URL_EXTERNAL,
baseURL: process.env.URL_CMS,
browserBaseURL: 'https://marcleopold.isnet.uk',
debug: true,
},
proxy: {
'/api/v1/': 'https://cms.marcleopold.isnet.uk',
// '/api/v1/': process.env.URL_CMS,
},
/*

View File

Some files were not shown because too many files have changed in this diff Show More