From bdce8d9aa56c8e41b6494c518452dfcea6332360 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Tue, 22 Jan 2019 11:48:00 +0100 Subject: [PATCH] fixed prod config path volume --- print/lib/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/print/lib/config.js b/print/lib/config.js index b9e3538a5..c14538f3e 100644 --- a/print/lib/config.js +++ b/print/lib/config.js @@ -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;