diff --git a/config.js b/config.js index ee73326..fe847a7 100644 --- a/config.js +++ b/config.js @@ -1,7 +1,7 @@ module.exports = { - 'secret': 'secretfortoken', - 'database': 'mongodb://localhost/comunalcar', + 'secret': process.env.SECRET, + 'database': process.env.MONGO_DSN, "port" : process.env.PORT || 3000 };