fixed prod config path volume

This commit is contained in:
Joan Sanchez 2019-01-22 11:48:00 +01:00
parent 166546564d
commit bdce8d9aa5
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const fs = require('fs-extra'); const fs = require('fs-extra');
let env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development'; let env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development';
let configPath = `/etc/`; let configPath = `/etc/salix`;
let config = require('../config/print.json'); let config = require('../config/print.json');
let configFiles = [ let configFiles = [
`${configPath}/print.json`, `${configPath}/print.json`,
@ -28,4 +28,5 @@ for (let proxyFile of proxyFiles) {
// config.proxy = proxyConf; // config.proxy = proxyConf;
config.env = env; config.env = env;
module.exports = config; module.exports = config;