From f5e3801c35a2a275f6090eeb103b72058869bd57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20S=C3=A1nchez?= Date: Tue, 28 Nov 2017 08:44:44 +0100 Subject: [PATCH] Error al incluir datasource.json --- services/mailer/application/config.js | 2 +- services/print/application/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/mailer/application/config.js b/services/mailer/application/config.js index 1b78e36ce..1442e85ed 100644 --- a/services/mailer/application/config.js +++ b/services/mailer/application/config.js @@ -9,7 +9,7 @@ try { config = Object.assign(require(configPath), require(devConfigPath)); } catch (e) { if (e.code == 'MODULE_NOT_FOUND') - return require(configPath); + config = require(configPath); } config.proxy = require('../../nginx/config.json'); diff --git a/services/print/application/config.js b/services/print/application/config.js index 1b78e36ce..1442e85ed 100644 --- a/services/print/application/config.js +++ b/services/print/application/config.js @@ -9,7 +9,7 @@ try { config = Object.assign(require(configPath), require(devConfigPath)); } catch (e) { if (e.code == 'MODULE_NOT_FOUND') - return require(configPath); + config = require(configPath); } config.proxy = require('../../nginx/config.json');