mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
use GANCIO_DATA env
This commit is contained in:
parent
87ec9c579d
commit
cc5011b940
2 changed files with 6 additions and 7 deletions
|
@ -54,9 +54,10 @@ module.exports = {
|
|||
*/
|
||||
modules: [
|
||||
// Doc: https://axios.nuxtjs.org/usage
|
||||
'./@nuxtjs/axios',
|
||||
'./@nuxtjs/auth',
|
||||
// ['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }]
|
||||
'@nuxtjs/axios',
|
||||
'@nuxtjs/auth',
|
||||
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
|
||||
'@/server/initialize.server.js'
|
||||
],
|
||||
|
||||
/*
|
||||
|
@ -92,12 +93,10 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
},
|
||||
|
||||
buildModules: [
|
||||
'nuxt-build-optimisations',
|
||||
'@nuxtjs/vuetify',
|
||||
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
|
||||
'@/plugins/initialize.server.js'
|
||||
// ['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
|
||||
],
|
||||
vuetify: {
|
||||
defaultAssets: false,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
const pkg = require('../package.json')
|
||||
const path = require('path')
|
||||
|
||||
process.env.cwd = path.resolve('./')
|
||||
process.env.cwd = process.env.GANCIO_DATA || path.resolve('./')
|
||||
|
||||
process.chdir(path.resolve(__dirname, '..'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue