fixed prod config path volume
This commit is contained in:
parent
166546564d
commit
bdce8d9aa5
|
@ -1,7 +1,7 @@
|
|||
const fs = require('fs-extra');
|
||||
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 configFiles = [
|
||||
`${configPath}/print.json`,
|
||||
|
@ -28,4 +28,5 @@ for (let proxyFile of proxyFiles) {
|
|||
// config.proxy = proxyConf;
|
||||
config.env = env;
|
||||
|
||||
|
||||
module.exports = config;
|
||||
|
|
Loading…
Reference in New Issue