fixed prod config path volume
This commit is contained in:
parent
166546564d
commit
bdce8d9aa5
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue