New Gallery: create directory if doesn't exist!#120

This commit is contained in:
Paolo Arena
2019-12-28 14:30:30 +01:00
parent 523edf557b
commit 0c91e6ce0b
3 changed files with 101 additions and 52 deletions

View File

@@ -68,6 +68,16 @@ if (process.env.NODE_ENV === 'production') {
portapp: '0',
dir: '',
},
{
idapp: '7',
name: 'Notevole',
adminemail: 'pao.loarena77@gmail.com',
manageremail: '',
replyTo: '',
host: 'https://notevole.freeplanet.app',
portapp: '0',
dir: '/var/www/notevole.freeplanet.app',
},
];
} else if (process.env.NODE_ENV === 'test') {
MYAPPS = [
@@ -117,7 +127,16 @@ if (process.env.NODE_ENV === 'production') {
host: 'http://test.mandalaperlanima.eu',
portapp: '0',
dir: '',
}
},
{
idapp: '7',
name: 'Notevole',
adminemail: '',
manageremail: '',
host: 'https://notevole.freeplanet.app',
portapp: '0',
dir: '/var/www/notevole.freeplanet.app',
},
];
} else {
MYAPPS = [
@@ -168,6 +187,15 @@ if (process.env.NODE_ENV === 'production') {
portapp: '8083',
dir: '',
},
{
idapp: '7',
name: 'Notevole',
adminemail: 'paolo.arena77@gmail.com',
manageremail: '',
host: 'http://localhost',
portapp: '8085',
dir: '',
},
];
}