From 1fb4a0b5049afb974d27361c688dc5d1167f0361 Mon Sep 17 00:00:00 2001 From: Antonio Pardo Date: Tue, 4 Oct 2016 17:25:53 +0200 Subject: [PATCH 1/2] update secret and mongo dsn --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index e83b101..f33701d 100644 --- a/config.js +++ b/config.js @@ -2,8 +2,8 @@ module.exports = { /*'secret': process.env.SECRET, 'database': process.env.MONGO_DSN,*/ - 'secret': 'secretfortoken', - 'database': 'mongodb://localhost/comunalcar', + 'secret': prompt.env.SECRET, + 'database': process.env.MONGO_DSN, "port" : process.env.PORT || 3000 }; From c51a6db3b0d4250cbe254ff90e27ed1be5724a0c Mon Sep 17 00:00:00 2001 From: Antonio Pardo Date: Tue, 4 Oct 2016 17:30:18 +0200 Subject: [PATCH 2/2] fix tipo --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index f33701d..ecbacc3 100644 --- a/config.js +++ b/config.js @@ -2,7 +2,7 @@ module.exports = { /*'secret': process.env.SECRET, 'database': process.env.MONGO_DSN,*/ - 'secret': prompt.env.SECRET, + 'secret': process.env.SECRET, 'database': process.env.MONGO_DSN, "port" : process.env.PORT || 3000