From 4f0a54329a993481e3d8dbcc05b9346c7ec2b1ca Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 24 Dec 2019 09:03:15 +0100 Subject: [PATCH] Print read config from local --- print/core/config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/print/core/config.js b/print/core/config.js index 8db388401..864e1658a 100644 --- a/print/core/config.js +++ b/print/core/config.js @@ -4,8 +4,10 @@ let env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development'; let configPath = `/etc/salix`; let config = require('../config/print.json'); let configFiles = [ + `${appPath}/config/print.local.json`, `${appPath}/config/print.${env}.json`, `${configPath}/print.json`, + `${configPath}/print.local.json`, `${configPath}/print.${env}.json` ];