Print read config from local
This commit is contained in:
parent
69b53b3cdc
commit
4f0a54329a
|
@ -4,8 +4,10 @@ let env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development';
|
||||||
let configPath = `/etc/salix`;
|
let configPath = `/etc/salix`;
|
||||||
let config = require('../config/print.json');
|
let config = require('../config/print.json');
|
||||||
let configFiles = [
|
let configFiles = [
|
||||||
|
`${appPath}/config/print.local.json`,
|
||||||
`${appPath}/config/print.${env}.json`,
|
`${appPath}/config/print.${env}.json`,
|
||||||
`${configPath}/print.json`,
|
`${configPath}/print.json`,
|
||||||
|
`${configPath}/print.local.json`,
|
||||||
`${configPath}/print.${env}.json`
|
`${configPath}/print.${env}.json`
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue