diff --git a/config.js b/config.js index e83b101..ecbacc3 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': process.env.SECRET, + 'database': process.env.MONGO_DSN, "port" : process.env.PORT || 3000 };