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 };